• 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: Apps that don't release unused sessions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apps that don't release unused sessions


  • Subject: Re: Apps that don't release unused sessions
  • From: George Domurot <email@hidden>
  • Date: Sat, 29 Jan 2005 12:41:46 -0800

Chuck/Helge/Tim: Thank you for the ideas and pointers. I was able to pinpoint the issue down to a bit of code I added to restore returning visitor's sessions. I picked it up from someone's earlier posting/notes. Here's the code from the Application class:

public WOSession createSessionForRequest(WORequest aRequest) {

WOSession aSession = null;
WOContext aContext = new WOContext(aRequest);

if (aContext!=null){
String sessionID = aRequest.cookieValueForKey(WORequest.SessionIDKey);
String instance = aRequest.cookieValueForKey(WORequest.InstanceKey);
if(!XOEO.Empty(sessionID))
aSession = restoreSessionWithID(sessionID, aContext);
}


if(aSession == null)
return super.createSessionForRequest(aRequest);

return aSession;
}

Any ideas why this would cause the problem? Also, looking at the code a bit more, the line about the instance number doesn't seem relevant to the method.

Much thanks,
George

On Jan 27, 2005, at 5:57 PM, George Domurot wrote:

We have an app that doesn't want to release inactive sessions (usually just 1). This becomes a problem during scheduled graceful cycling.

Has anyone seen this occur? Any ideas about resolution?

There are other apps running under the same deployment scenario for more than a year, all smooth.

Any input is appreciated.

Thanks,
George

--
George Domurot
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
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

  • Follow-Ups:
    • Re: Apps that don't release unused sessions
      • From: Chuck Hill <email@hidden>
References: 
 >Apps that don't release unused sessions (From: George Domurot <email@hidden>)

  • Prev by Date: Re: NumberFormat Question
  • Next by Date: Re: Apps that don't release unused sessions
  • Previous by thread: Re: Apps that don't release unused sessions
  • Next by thread: Re: Apps that don't release unused sessions
  • Index(es):
    • Date
    • Thread