why use a query string? If partid stays the same for the user throughout the session, store it's value in a session variable and just redirect. using query strings gets messy stay with the post method. You can also store the partid in a hidden form field with javascript before submitting the page. then access that form field on the redirected page.
The Request.ServerVariables("HTTP_REFERER" contains the page with the link (or whatever) the user used to get to the current ASP page. Note that this is not the same as the JavaScript function exactly. Using the JavaScript will in effect click the back button. Everything on the previous page will still be there (all filled in forms etc). Using the ServerVariables will send the user back to the previous page, but it will be a new refreshed version of that page.
Hope that helps. Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.