Re: two sessions started
Re: two sessions started
- Subject: Re: two sessions started
- From: Chuck Hill <email@hidden>
- Date: Tue, 1 Mar 2005 07:31:01 -0800
On Mar 1, 2005, at 6:04 AM, Jeff Schmitz wrote:
Hello,
I'm having a problem with my application where everytime someone
connects to it, two sessions are started, at least according the
JavaMonitor.
Add some debug logging. Override dispatchRequest() in Application and
print out the uri() of the request to be dispatched. Chances are you
have some broken/bad html in your main page that is causing a second
request. Have any broken images on it? Also try adding
NSLog.out.appendln(new RuntimeException("back trace"));
to the session constructor to see where the creation call is coming
from.
I do have an Initialize operation in my Session class that is called
by my Main page's constructor.
That seems a very odd way to do it. Why not call initialize() from the
Session constructor?
Could this be causing it someway?
It does not look like it to me.
Chuck
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development 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