On 23-Jan-09, at 12:24 AM, NAGA MALLESWARA RAO MADDALI wrote:
Please help me out why active sessions are still showing in the
WOStats page even though users had logged out from the application.
I've always looked at this problem from the opposite direction. Look
at what is creating sessions and stopping any extraneous ones. For
example, IMHO a login page should never spawn a session. It should be
stateless so that random visits to it don't cause false sessions to be
created among other reasons.
Launch your application under jdb (use the -NSJavaDebugging YES
argument on the command line)
Set a break point in the WOSession constructor with:
stop in com.webobjects.appserver.WOSession.<init>()
and then run the application.
When you hit the break point, use the 'where' command to see who is
creating the session.
Good luck!
Mark
__
Mark Ritchie
Cocoa and WebObjects Developer
Diamond Lake Consulting Inc.
Toronto, Ontario, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]