struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohan Radhakrishnan <Moh...@hclcomnet.co.in>
Subject RE: Association between Session object and Cookies/URL rewriting
Date Thu, 06 Mar 2003 13:50:12 GMT

     So I will have to use

   	inValidateSession( request );

     What will happen to code like this in by base action if I do this? That
would be lost.

	protected void setLocale(
            HttpServletRequest request,
            Locale locale) {

        HttpSession session = request.getSession(true);
        session.setAttribute( Action.LOCALE_KEY,locale );

    }

Mohan

-----Original Message-----
From: Max Cooper [mailto:max@maxcooper.com]
Sent: Thursday, March 06, 2003 6:18 PM
To: Struts Users Mailing List
Subject: Re: Association between Session object and Cookies/URL
rewriting


>Some login pages and servers may drop your old session when you
>authenticate, but I know that Tomcat doesn't do that unless you explicitly
>have a session.invalidate() call in your login page.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message