Re: Too Many Sessions Are Being Generated
Re: Too Many Sessions Are Being Generated
- Subject: Re: Too Many Sessions Are Being Generated
- From: Paul Suh <email@hidden>
- Date: Tue, 9 May 2006 13:56:33 -0400
Jon,
WOImage is definitely not the culprit.
A couple of other places to look:
1) Do you have anything bound to a key in the session? Use a tool
like grep to search for "session" in all of the .wod files in your
application.
2) Are you calling a method anywhere in your code that calls session()?
Another thing to try: put a log statement in the constructor of
*every* WOComponent that you have in your project. Now access your
app via the direct action, and see which components are instantiated.
Go over those components with a fine-toothed comb to see where a
session is being created.
Hope this helps.
--Paul
Paul Suh
http://www.ps-enable.com/
email@hidden (301) 643-1516
On May 8, 2006, at 3:49 PM, Jonathan Miller wrote:
Thanks for that and indeed I did have a component action in the
parent component (search box). However after moving that to a
DirectAction I still have not seemed to have fixed the problem.
What is more confusing is that I load all my content out of XML so
at this point I shouldn't be talking to EOs at all.
Does a session automatically get created for each request if a
wosid is not found in the URL?
Could WOImage be creating a session?
_______________________________________________
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