Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Could your page work as follows:

 

When the page loads (in the page_load event handler), check if there is a querysting.

 

1. If there is a query string, record a session variable containing the entire querystring, and carry on displaying the page.

 

2. If there is no query string, load the contents of the session variable (if it's present), and redirect back to the page (with the querystring appended). This should make the QueryString visible in the Address bar on the browser.

Posted
If he is going to use a session value and then remove the query string he may as well not use a query string and just set the session variable on the item that causes the post back and go from there. Why do extra steps?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...