-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Farhan,

mfs wrote:
| Actually, i need a mean by which i can extend the session (in some
cases) if
| the session is about to expire. I know i can certainly do this with
| Session.setMaxTimeInternal() but thats only possible with some client
event
| (i.e. when the servlet/filter is invoked),  which doesn't satisfy my
needs.
| Something like HttpSessionListener.preSessionDestroyed() is what i need..I
| wonder why cant they give such control.

If you need longer sessions, why not just change the configured session
timeout?

You mentioned that some sessions should time-out earlier than others.
Rather than attempting to extend the life of some sessions, why not turn
it around and extend the life of all sessions, and cur others short?
It's easier to invalidate a session early than it is to extend the life
of a session.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgQ8TAACgkQ9CaO5/Lv0PAYZACdELDU7yvltoEA3ZkH34zoME1N
OnIAn1Y3n2ChP8+8ycYnpFz6I1DcE/a5
=tXey
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to