struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Sutton <al.sut...@alsutton.com>
Subject Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present
Date Fri, 01 Aug 2008 17:25:45 GMT
I refer you to the answer on sessions I gave you some emails ago.

You **REALLY** should read how session work. They are not passed through 
a servlet.

Al.

Milan Milanovic 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: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>> -- 
>> --
>> Al Sutton
>>
>> W: www.alsutton.com
>> T: twitter.com/alsutton
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>     
>
>   


-- 
--
Al Sutton

W: www.alsutton.com
T: twitter.com/alsutton


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


Mime
View raw message