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: [S2] Refactoring Action classes
Date Wed, 06 Aug 2008 17:12:05 GMT
Some request parameters are prohibited, too, but those aren't session attributes.

Dave


--- On Wed, 8/6/08, Milan Milanovic <milanmilanovich@yahoo.com> wrote:

> From: Milan Milanovic <milanmilanovich@yahoo.com>
> Subject: Re: [S2] Refactoring Action classes
> To: user@struts.apache.org
> Date: Wednesday, August 6, 2008, 12:49 PM
> Dear Dave,
> 
> I don't know really, I don't use HTTPS, my cookies
> are enabled, my redirect
> action deleted my session variables, when I changed this
> action to standard
> action it worked, NO other part of the code is changed.
> 
> --
> Milan
> 
> 
> newton.dave wrote:
> > 
> > --- On Wed, 8/6/08, Milan Milanovic wrote:
> >> newton.dave wrote:
> >>> --- On Wed, 8/6/08, Milan Milanovic wrote:
> >>>> No, my cookies are enabled all the time.
> But if my
> >>>> JSessionID is not automatically appended
> to the new 
> >>>> location by container/struts2 in case of
> redirect action, why ?
> >>> 
> >>> Probably because cookies are enabled all the
> time.
> >>
> >> I don't understand, but enabled cookies is
> defualt
> >> behavior, isn't it ?
> > 
> > Passing the session ID in the link is the workaround
> for someone not
> > having their cookies enabled. It'll also happen on
> the first page hit
> > because it can't tell if cookies are enabled.
> > 
> > I think most users have cookies enabled, although
> since it's a browser
> > issue I'd hesitate to call almost anything
> "default".
> > 
> > Another reason you could lose session is moving
> between HTTP and HTTPS;
> > some servers will use a different session. I'm
> assuming they all have a
> > way to share the session, though.
> > 
> > Dave
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> user-help@struts.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context:
> http://www.nabble.com/-S2--Refactoring-Action-classes-tp18813229p18855185.html
> 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