• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unwanted Session Creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unwanted Session Creation


  • Subject: Re: Unwanted Session Creation
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 14 Nov 2005 10:13:42 -0800

I recall a discussion of this in the recent past (search the archives) but fail to recall the cause. Where exactly is the session getting created? Maybe that will remind me. Logging out a stack trace from the session constructor is a big help:

public Session() {
   super();
   NSLog.out.appendln(new RuntimeException("Session Created Here");
...


Chuck


On Nov 7, 2005, at 7:19 PM, Greg Hulands wrote:

Hi,
In my application I have found where a new session is getting created, but it shouldn't be. I have logged out the sessionID from the context().request(), but when I do session(), it is creating a new session, even though there is a session id in the request. Under what circumstances does a new session get created? I guess a work around would be to restore the session myself using the sessionID from the request, but I would really like to know why it would be occurring.


Any information is greatly appreciated.

Regards,
Greg
_______________________________________________
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
References: 
 >Unwanted Session Creation (From: Greg Hulands <email@hidden>)

  • Prev by Date: Re: Unit testing
  • Next by Date: Re: Unit testing
  • Previous by thread: Unwanted Session Creation
  • Next by thread: plist problem
  • Index(es):
    • Date
    • Thread