Servlet session management
Servlet session management
- Subject: Servlet session management
- From: Tom Pelaia <email@hidden>
- Date: Fri, 14 Feb 2003 09:54:48 -0500
- Organization: SNS Application Programming Group
Hi,
Does anyone know how to do session management from within WebObjects
when deploying as a Servlet? Namely, I want to programmatically logout
a user when they click a "logout" link. The normal session.terminate()
method does not work because it only frees resources withing WebObjects
and the Servlet then later times out and calls this method a second
time. The only way I can do it is to grab the Servlet context and
invalidate the servlet, but the code is complicated because I need to
check for and load the code dynamically since during development I don't
want J2EE dependency in my code (especially an issue if other developers
don't have J2EE jars installed). Is there a proper way to logout a
servlet session safely from within the WebObjects API?
We are deploying our WebObjects application under OC4J on Solaris and it
seems to work well once you get the settings on the server and servlet
correct. WebObjects allowed us to rapidly develop a powerful web based
logbook that gets heavily used.
I had posted this request on the deployment list and no one responded.
There seems to be very little activity on the deployment list.
thanks,
-tom
--
Tom Pelaia
SNS Project, 701 Scarboro Road, MS-6473, Oak Ridge, TN 37831
phone: (865)574-6421, fax: (865)574-6617
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.