|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
QueryString's lifetime?Hello,
When I navigate to a page, say called Form1.aspx, with a QueryString, any postbacks within Form1.aspx keeps the content of QueryString. However, when I redirect Form1.aspx to itself the content of QueryString is lost. What is the lifetime of QueryString? Thank you. > When I navigate to a page, say called Form1.aspx, with a QueryString, any As long as the querystring remains a part of the URL, it's accessible.> postbacks within Form1.aspx keeps the content of QueryString. However, when I > redirect Form1.aspx to itself the content of QueryString is lost. What is the > lifetime of QueryString? If you redirect back to itself sans querystring, it's gone. -Darrel Thank you.
Show quoteHide quote "darrel" wrote: > > When I navigate to a page, say called Form1.aspx, with a QueryString, any > > postbacks within Form1.aspx keeps the content of QueryString. However, > when I > > redirect Form1.aspx to itself the content of QueryString is lost. What is > the > > lifetime of QueryString? > > As long as the querystring remains a part of the URL, it's accessible. > > If you redirect back to itself sans querystring, it's gone. > > -Darrel > > >
Other interesting topics
javascript datagrid events inside item template
if(blah) alert box else somethinge useful code continues after stop debugging How to Stop a Function? datagrid - do not refresh the contents in the grid Exception has been thrown by the target of an invocation....what is this? asp.net button handler How to solve this " problem PostBack after AddHandler ToolTip - controlling duration of display |
|||||||||||||||||||||||