Re: D2JC Session...
Re: D2JC Session...
- Subject: Re: D2JC Session...
- From: Chuck Hill <email@hidden>
- Date: Fri, 13 Jun 2003 13:06:12 -0700
- Organization: Global Village Consulting, Inc.
Christian Evans wrote:
Hi All,
I have a quick question.
I have a basic D2J Client app and something kind of weird is going on.
I have an 8 hour session time-out set.
On my Windows clients the session never times out. I can leave the app
up all night and it works fine the next day.
The only times that I have seen a session not expire (in a web app,
not JC...) are
- when an exception is raised in the handleException method while
handling another exception caused by a request for that session
- when repeated requests are made to the session
Is it possible that the IE client are, through a bizarre bug in IE or
doing different jobs, triggering an error that the Mac users are not?
Is it possible that the IE users have something different that
causes frequent requests to be sent to the server? Override
dispatchRequest in Application to log out what requests come in and when.
On my Mac OS X clients, the next day the app reports the session has
timed-out and will quit when you try to use it.
The proper solution to this is to increase the session timeout. Note
that this may result in excessive memory consumption if the app
crashes a lot or users kill it without logging out.
I actually like the Windows handling of sessions better in this case
since it's just an internal app with no need for major security.
Any ideas on what's happening here?
That is all I can think of. Then again, I don't know JC very well.
Chuck
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
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.