struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Milanovic <milanmilanov...@yahoo.com>
Subject Re: [S2] Refactoring Action classes
Date Wed, 06 Aug 2008 20:57:23 GMT

Hi Nils-Helge,

yes, I only use session attribute in my action class which implements
SessionAware interface.

--
Regards, Milan



Nils-Helge Garli wrote:
> 
> And you're sure it's a session attribute and not a request attribute?
> 
> Nils-H
> 
> On Wed, Aug 6, 2008 at 6:49 PM, Milan Milanovic
> <milanmilanovich@yahoo.com> wrote:
>>
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-S2--Refactoring-Action-classes-tp18813229p18859148.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


Mime
View raw message