Hi Joe,
first of all thank you for ur reply,,,,
acutually i don't know how and where i have to change that cookie
path...could u post some sample code here..
On Oct 24, 6:32 pm, Joe Cole <[EMAIL PROTECTED]> wrote:
> I just had the same problem on a new "play" site we are doing. Check
> your cookie path using your browser, we were deployed at /x, but
> rewriting so that the application came up at / (e.g. google.com
> compared to google.com/x). The cookies were getting reset each time
> because it was using the wrong path, so we had to set the cookie path
> in the servlet xml files to / rather than the default: /x.
> To check cookie path use your browser options and find the cookies
> section then search for your site.
> Hope that helps.
>
> On Oct 24, 5:47 pm, kavuri <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi ,
> > I m creating asessionat the time of login....by using the fallowing
> > code
>
> > HttpServletRequest request = getThreadLocalRequest();
> > HttpSessionsession= request.getSession();
> > session.setAttribute("uaerName", impl.getFirstName() +
> > impl.getLastName());
> > session.setAttribute("loginId", impl.getWinLoginId());
>
> > How can i access thissessionattributes 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
>
> > HttpSessionsession= 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...- Hide quoted
> > text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---