You could pass all information in a hash or query string:

http://www.my.com/newpage.htm?sessionstuff=1&props=234
params = location.search;

but there is no native way of parsing that string. better do it JSON
style:

http://www.my.com/newpage.htm#{ID:23, state:'buying', accNumber:
2098432, password:'coolaid'} //this is all visible to the user

then on the new page:

session = eval("("+location.hash.substr(1)+")");

and you get an object 'session' with all the paremeters you passed. (I
assume you understand that passing a password is a joke. please don't
do that :) If you don't want things to be visible you can generate a
form on the fly and POST to the next page, then handle everything
server-side.

cheers,
- ricardo

On Jan 14, 11:33 am, hjorth <[email protected]> wrote:
> hi
>
> i got a big problem
>
> i need to take a session from one page and keep it alive on another
> page where i have a long form.
>
> is this possible?

Reply via email to