Is it possible you have the server session-time-to-live set to a very small duration of time? This might explain why the sessions are disappearing.
On Fri, Aug 1, 2008 at 11:47 AM, Milan Milanovic <[EMAIL PROTECTED]>wrote: > > I know that they are passed through serlvet, I'm just wondering if struts > makes some error there. > > Could you be positive that Struts 2.0.11.1 doesn't do anything with > session, > i.e., session remains > intact and session is set for folowing action in case of redirect action ? > > -- > Regards, Milan > > > > Al Sutton wrote: > > > > Milan, > > > > Please read up on how sessions work. They are NOT passed via URLs unless > > you have cookies disabled, URL rewriting enabled on your appserver, and > > a very sick sense of what a normal configuration is. > > > > Al. > > > > > > Milan Milanovic wrote: > >> Hi Dave, > >> > >> one short question, don't be angry ;-). > >> > >> The link which when clicked action class lost its session looks like > >> this: > >> > >> > http://localhost:8080/myproject/show.action?dojo.preventCache=1224214242324&id=4 > >> > >> Is it possible that session is not passed through this link ? > >> > >> -- > >> Regards, Milan > >> > >> > >> newton.dave wrote: > >> > >>>> Seriously, refactor your code. 5K lines of code in 7 files > >>>> could hide all manner of nasties. > >>>> > >>> We have a 1M class where I'm at now. That's *1M* of source. 30k+ lines, > >>> mostly if-elseif. > >>> > >>> It broke our cyclometric complexity meter, had to put in a bigger fuse. > >>> It > >>> makes Eclipse cry. It makes *me* cry. Kinda like this thread. > >>> > >>> Dave > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>> > >>> > >> > >> > > > > > > -- > > -- > > Al Sutton > > > > W: www.alsutton.com > > T: twitter.com/alsutton > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18778594.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >