On Feb 11, 7:50 pm, Rev...@hotmail.com wrote:
I have a JavaScript function that is opening a new ASP page in a
window with specific parameters. I want to pass information from the
first page to the second. I can easily simulate the "post" method in
ASP by adding the information to the URL/QueryString but I don't want
the information displayed in the URL. Is there any other way to pass
the information from a form to a new window via JavaScript?
In addition to the way Randy suggested, if the .asp
page you're requesting is in the same domain, then
you could also set a session cookie. All requests to
to a server automatically pass the cookies in that
domain in the request. To make the cookie a session
cookie, don't put an expiration date on it, like this:
document.cookie = "myparams=foo&bar;";
You could do both methods for redundancy.