Home All Groups Group Topic Archive Search About
Author
9 Jun 2005 9:48 PM
Nad
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.

Author
9 Jun 2005 9:54 PM
darrel
> 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
Are all your drivers up to date? click for free checkup

Author
9 Jun 2005 10:35 PM
Nad
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
>
>
>

Bookmark and Share