Re: Reading session variable
- From: "impaler" <TamasJano@xxxxxxxxx>
- Date: 17 Jan 2006 01:19:04 -0800
Write it out into a hidden and retrieve it from the client. Or simply
create a script directly from the server that looks something like:
out.println("<script>myVar=" + session.getAttribute("id") +
";</script>");
and you have the myVar variable in JS.
At least you get the ideea and can do it more nicely depends on what
you
are using.
Regards
.
- Follow-Ups:
- Re: Reading session variable
- From: sconeek
- Re: Reading session variable
- References:
- Reading session variable
- From: sconeek
- Reading session variable
- Prev by Date: Re: Problem with delay at Javascript start
- Next by Date: Re: Vector data type for thread management
- Previous by thread: Re: Reading session variable
- Next by thread: Re: Reading session variable
- Index(es):
Relevant Pages
|