Are u using Struts 1.x or 2 ? -- please paste the code from struts xml
and how you are doing the redirect? ; will attempt to answer after
that.

-Joseph

On 8/17/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> 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 <[EMAIL PROTECTED]> 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/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to