struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict" <pbened...@apache.org>
Subject Re: Losing Session attributes
Date Sat, 18 Aug 2007 00:41:50 GMT
If you switch domains or ports, you will lose your session. Sessions are
usually tied to cookies which have these restrictions.

On 8/17/07, Diego Ezquerro <d.ezquerro@yahoo.com> wrote:
>
> Hi to everyone.
>
> I have a problem with the session attributes in my struts app.
> I have a login page that checks the username and the password and if it's
> all right, it fills the session (in the action bean) with an attributte
> "username" with the username introduced. The app redirects to another page.
>
> When i try to obtain the username attributte in the next page, it is seted
> to null. I have searched the web and found no answer.
>
> I hanven't invalidated the session and don't know why this is happening.
>
> If anybody knows a possible reason, please tell me.
>
> Diego Ezquerro Bailac
> Asturias, Spain
>
>
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¬°gratis!
> Regístrate ya - http://correo.espanol.yahoo.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message