>Let say that I want to return to the login page with a parameter that specified to the login page to print an error message. In an asp page (that will never show up) I call
>
>Response.Redirect "login.asp?Err=" & ERR_NO_1
>
>in the browser adress field the user will see login.asp?err=1
>
>The question I am asking is: Is it possible with redirect method to call the login page with the parameter but the user will not see the parameter. (something like using hidden field in a html form).
Hi there,
Yes, it is possible using Session variables, but remember that session variables are only availble in server side script, not client side script.
Add some server side script on the login page to check for the error variable set in the server script of the asp page that finds the error. The simple response.redirect just reloads the login.asp page, but this time the error variable exists, and it can process it appropriately.