Q
qaz
I have login links on a number of pages in my site. Some of the pages
expect variables on the querystring.
I want to be able to login from any of these pages. The login link
redirects me to a login page. I want to go back to the page I came from and
preserve the variables on the querystring.
Can anyone give me a short script to have a user return to a calling page
that preserves the querystring?
For what it is worth, I has used a simple response.redirect
request.servervariables("script_name") until I realized that I was losing
the querystring.
I also tried this, but it did not work - (it kept posting me to the login
page regardless of where I came from)
dim sQS
sQS = request.querystring
.... [code here ] ...
response.redirect request.servervariables("script_name") & sQS
Any help is appreciated.
expect variables on the querystring.
I want to be able to login from any of these pages. The login link
redirects me to a login page. I want to go back to the page I came from and
preserve the variables on the querystring.
Can anyone give me a short script to have a user return to a calling page
that preserves the querystring?
For what it is worth, I has used a simple response.redirect
request.servervariables("script_name") until I realized that I was losing
the querystring.
I also tried this, but it did not work - (it kept posting me to the login
page regardless of where I came from)
dim sQS
sQS = request.querystring
.... [code here ] ...
response.redirect request.servervariables("script_name") & sQS
Any help is appreciated.