Re: why the new sessions created when there is nobody accessing the application ?????
Re: why the new sessions created when there is nobody accessing the application ?????
- Subject: Re: why the new sessions created when there is nobody accessing the application ?????
- From: Chuck Hill <email@hidden>
- Date: Fri, 26 May 2006 09:00:58 -0700
Override dispatchRequest in Application and log the URI and headers
from the request. That should show what is creating the sessions.
It is probably something monitoring the application. If so, you
should create a direct action that does not create sessions for it to
call.
Chuck
On May 26, 2006, at 8:41 AM, Helen He wrote:
Hi, All:
Recently I found one of our internal WO applications can create new
sessions even without anybody accessing it. In order to make sure
what I saw is real, I restarted the app several times at night when
I was sure nobody will access it, then after a while, a new session
was created, when the time passed, more and more new sessions
created. The app's log file didn't record any login info for our
users.
I did the same thing to the application in the test server, no new
sessions were found.
I have looked through the coding in Application's constructor and
found nothing will stimulate a new session to create. So if you
have any this kind of experience, ideas, suggestions, please let me
know! I'll really appreciate any input you might give to me.
Thanks in advance!
Helen
There are no secrets to success. It is the result of preparation,
hard work, and learning from failure. -- Colin Powell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden