you have a typo ("uaerName")
On Oct 24, 6:47 am, kavuri <[EMAIL PROTECTED]> wrote:
> Hi ,
> I m creating a session at the time of login....by using the fallowing
> code
>
> HttpServletRequest request = getThreadLocalRequest();
> HttpSession session = request.getSession();
> session.setAttribute("uaerName", impl.getFirstName() +
> impl.getLastName());
> session.setAttribute("loginId", impl.getWinLoginId());
>
> How can i access this session attributes at client side..and at
> serverside at the time logging off i tried to get the same ssession
> which i was created at the time of login wit the fallowing code
>
> HttpSession session = getThreadLocalRequest().getSession();
> System.out.println(session.isNew());
> System.out.println(session.getAttribute("userName") + "logged
> out");.
>
> i got the output as "true" and "null" rather than getting "false" and
> "userName".
>
> could anyone pls tell me the solution wit some sample code...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---