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

Farhan,

mfs wrote:
| Actually i need to provide my own session timeOut/expiry
implementation and
| i was wondering what would be the easiest way to achieve this, i am using
| tomcat for development but oc4j for production, and i was wondering if
| somehow i can hook in my implementation into various servlet containers..

You could use a Filter to check whatever condition should expire
sessions. The Filter can certainly call HttpSession.invalidate() at any
time.

Filters are (usually) cross-container because they only have access to
standard Servlet-API stuff.

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

iEYEARECAAYFAkgOQ2gACgkQ9CaO5/Lv0PAAKACgwmdE9sTrDP/a1V4WdaYfVN8V
N+cAnA+Q784oRGuFiBmHbfHNjLlt/GWS
=bLPb
-----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