struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Session problem
Date Mon, 27 Aug 2007 18:22:11 GMT
I would reduce your problem to a simple class that
does nothing but access only the HttpSession and see
if the problem still exists, then build up around that
until something blows up.

I would also consider using Spring's DI/IoC to inject
a user service object (generally not the same class as
a user itself) into the action rather than accessing
Spring's application context directly.

d.

--- Mark Rollins <mark.rollins@computer.org> wrote:

> 
> I'm actually using two different browsers, IE and
> Firefox, as I thought this
> would guarantee me two separate sessions. 
> 
> 
> How are you starting a new browser from this *same*
> machine?  If you are
> pressing Ctrl-N New Window, this is your problem! 
> This will appear to be
> two browsers, when actually it is two browser
> "windows" over the same
> session!  You must start a second (3rd, 4th, ...)
> browser the way you
> started the first if you truly want unique session
> ids.
> 
> Scott
> 
> 
> -- 
> View this message in context:
>
http://www.nabble.com/Session-problem-tf4324658.html#a12354179
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 


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


Mime
View raw message