sarrivillaga
Posts: 10
|
Posted: 02/05/2008, 8:23 AM |
|
Hello,
I am developing a different User validation method, but I have tried with the following lines to set the value for session varialbles "UserId" and "GroupID"
e.getPage().getRequest().getSession().setAttribute("UserID","UserX");
e.getPage().getRequest().getSession().setAttribute("UserLogin","UserLoginX"));
e.getPage().getRequest().getSession().setAttribute("GroupID","Admin");
But it seems that is not working, Do yo know how to set those variables?
Thanks for your help.
|
|
|
mrachow
Posts: 509
|
Posted: 02/05/2008, 12:28 PM |
|
It's a while since I had done Java with Studio but I had used SessionStorage.getInstance(e.getPage().getRequest()).setAttribute("WebControllingBasis", "1"); for setting my own session variables.
Maybe setting "UserID" will work too.
_________________
Best regards,
Michael |
|
|
|