• 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: Running a Session routine only once, when user first logs in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running a Session routine only once, when user first logs in


  • Subject: Re: Running a Session routine only once, when user first logs in
  • From: Art Isbell <email@hidden>
  • Date: Mon, 13 Jan 2003 10:57:34 -1000

On Sunday, January 12, 2003, at 05:40  AM, Clayton Leitch wrote:

However, in WebObjects 5.2 it appears that every time the session is called the variables are set to their defaults and then the session awake method sets them back to the correct.

I smell the creation of new sessions as the explanation. Run your app under the debugger and break in Session.awake. Note the address of "this". If it changes on each break, you need to figure out why new sessions are being created. One explanation would be that you are using a browser that does a favicon request and that you are running in Direct Connect mode.


Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Running a Session routine only once, when user first logs in (From: Clayton Leitch <email@hidden>)

  • Prev by Date: Re: WO creates additional sessions under Safari
  • Next by Date: Re: Accessing Static Elements
  • Previous by thread: Re: Running a Session routine only once, when user first logs in
  • Next by thread: Accessing Static Elements
  • Index(es):
    • Date
    • Thread