I know that i can use the VaryByParam attribute, but what it does is not exactly what i am aiming for.
What happens is that different versions of the page are cached based on the query string.
For example Page.aspx?ID=Tom has its own cached version and ID=Arnold has another. Now what i want to do is not to cache Arnold at all. I only ...
I am using a new Rails project & an old established Oracle db using adapter: oracle_enhanced. Would like to be able to have dynamic searches against the db depending upon what info/field(s) is available to search against.
I am trying to get from
http://www.abc.com/order/show?acct_num=a123&po_num=789z
and create an object such as...
Hi
Basic question here: I'm sending emails using the default SmtpClient of the .NET framework (3.5). The bodytype is HTML (IsBodyHtml = true) In the body I've added a url with two parameters in the querystring like so:
http://server.com/page.aspx?var1=foo&var2=bar
This get's encoded to:
http://server.com/page.aspx?var1=foo%26var...
Since I decided to pass the id of a particular record via query string so I encrypted the id (id=090ed4fe-daec-452d-b025-f664dcc1164d) and attached it's value to the url.
As we all know the url encoded value for / is %2f. So, on a particular instance of the application an id value (id=090ed4fe-daec-452d-b025-f664dcc1164d), which was enc...
This question concerns the characters in the query string portion of the URL, which appear after the ? mark character.
Per Wikipedia, certain characters are left as is and others are encoded (usually with a % escape sequence).
I've been trying to track this down to actual specifications, so that I understand the justification behind ev...
Currently we are using query-string extensively in our asp.net application. Few days back we were working on enhancing the website. In this we first of all decided not to show the complete url of the webpage on the address bar for this i asked this question regarding it on SO
The best way we got was to use server.transfer(). But now it ...
How do I create an x(ht)ml-Node containing a href-attribute including a query string without the &s being escaped automatically or runtime error?
val text = Text("?key=val&key2=val2")
will be escaped and
val node = <a href="link?key=val&key2=val2">link</a>
throws (in Scala 2.7.5):
java.lang.AssertionError
The node will be used w...
Hi!
I have a portlet. Inside of this portlet I have Flex application that displays some stats using charts. Flex recognize what stats it needs to display, by a parameter provided in flashVars. I need to create one page for each kind of stats and so every page must contain before mentioned portlet. My problem is that I can't find a way t...
Background (question further down)
I've been Googling this back and forth reading RFCs and SO questions trying to crack this, but I still don't got jack.
So I guess we just vote for the "best" answer and that's it, or?
Basically it boils down to this.
3.4. Query Component
The query component is a string of information to be i...
Possible Duplicate:
substring algorithm
Given two strings, A and B, how to find the first position of B in A?
For instance, A = " ab123cdefgcde"; B= "cde"
Then the first position of B in A is 5.
Is there any trick to solve this problem or just search A from the start?
...
Is there a way to get all the querystring name/value pairs into a collection?
I'm looking for a built in way in .net, if not I can just split on the & and load a collection.
...
I need to get the a parameter passed via a querystring. I need to get the value of the parameter and then use it in some javascript.
In my specific example, I am using the "tabview" object and would like to set the "selected" tab by getting it from the querystring. The querystring would be something like this
http://www.myserver.com/pa...
I'm intermittently seeing the exception "A potentially dangerous Request.QueryString value detected" thrown, however when I look in the IIS logs I can see that the request that failed has no querystring logged against it.
How could this be? Are "dangerous" querystrings being stripped from the log or something?
...
Hi, I have a question:
Which is the best way (in performance and security) to send multiple parameters to a web page (on a different server), considering that the length of the parameters may vary because I'm sending a list of products, and the customer may have selected more than one product, so we need to send each product on the quer...
here's the problem: when requesting url like - http://server/path/to/file.html?param=../../something/something i get response:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
...
Additionally, a 404 Not Found error was encountered while trying to use an Erro...
hi
i have a web form, basically a few droppers searcing/filtering data in a gridview
i would quite like to be able to drive this from the qs, so that the 'searches' can be saved. but i really dont want to 'get' all the bumf in the viewstate.
is there any way to drive this from the QS other than changing the postbackUrl of the submit b...
Hi,
I'm using the iis7 URL Rewrite module and it's working fine, except for two things. Being new to this, I might be missing something obvious.
1) My URL gets converted from
www.mysite.com/search.aspx?fName=John&sName=Smith
to www.mysite.com/John/Smith. This works fine, but if I add a trailing / , a few images on the site disappear, w...
I would like to pass a querystring to Infopath when creating a new document (based off of a content type that I created and published with infopath). Like so: http://server.com/Forms/Form1.xsn?String=value I know that Infopath can handle querystrings but I'm unclear on the process behind creating a new list item from content type. Is th...
Hey All,
I'm new to programming, and this website. I have what is hopefully a quick question about using thickbox, and jquery to display an overlayed video on a website.
My problem is that I want to have the overlay displayed when someone clicks a link from an email. So the link would be something like: mywebsite.com/landingpage.html#p...
Ive recently started using CodeIgniter as I was searching for a very lightweight framework and it seemed to come up as a top choice.
I am new to the whole MVC thing, enjoying it but am stuck with something which seems very simple.
I am coding a CMS and need a way to filter, sort and paginate the results. I am used to doing it with quer...