i warned you about this :)
----- Original Message -----
From: "vikas rao" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, May 18, 2007 2:59 AM
Subject: Re: Session Expires too early! Help!
No, I didnt use URL rewriting or cookies, session.setAttribute() was used,
but that wasnt the problem, i figured it out, the problem was that there
was
somehow there was this :
window.event.clientx and clienty rules in the jsp page which, if true,
would
take the control to the log out page and obviously set session back to
null...
if((window.event.clientX<0) || (window.event.clientY<0))
{
location.href = '/aw-supervisor/LogoutAction.do';
}
Not sure what this accomplishes, but it troubled me a lot! I commented
this
section out and it seems to be working fine!
Vikas.
On 5/18/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vikas,
vikas rao wrote:
> Hi,
> I am working on a bug in my application, the problem is, the session
> expires
> every 2 minutes or so and I have to log back in to continue, this is
very
> frustrating.
Do you have cookies enabled or are you using URL rewriting? If you are
relying on URL rewriting, you may have links in your application that
have not correctly been run through HttpServletResponse.encodeURL.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGTMJQ9CaO5/Lv0PARArBtAJ0eycNIVz35dfisMZICtFk4QUCGSQCfWnO5
KcxrhuaNzK5wt0Lzy7oIu5Y=
=jZgY
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]