Skip to Content
0
Former Member
Feb 18, 2004 at 06:31 PM

retrieve session variable

134 Views

<b>Hi</b>

I create a session variable like this:

request.getComponentSession().putValue("myText", "A short note in the session");

And then tries to retrieve the value in another component like this:

sTest = request.getComponentSession().getValue("myText").toString;

sTest is declared as a string.

But I get an error. How do I retrieve the value?

Brgds// -Fred