Yes, I understand. But I don't remove session variable or call invalidate
anymore, and when my variable is stored during the whole scenario and when I
click to this redirect I get lost of my variable.

--
Milan



newton.dave wrote:
> 
> --- On Fri, 8/1/08, Milan Milanovic wrote:
>> One more question, is it possible that my session variable
>> is erased when I redirect to another action/namespace, like this:
>> 
>> <action name="show"
>> class="mySecondAction">
>>      <!-- Redirect to another namespace -->
>>      <result type="redirect-action">
>>            show
>>            /actions
>>            true
>>                    ${id}
>>       </result>
>> </action>
> 
> As I've said, I know of no default S2 mechanism that would arbitrarily
> remove session variables. As I've also said, and as the documentation
> clearly states, and as you were told on the Spring forum, if you're
> calling session.invalidate() you'll lose all your session variables.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> 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-tp18716278p18776195.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]

Reply via email to