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

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


  • Subject: Running a Session routine only once, when user first logs in
  • From: Clayton Leitch <email@hidden>
  • Date: Sun, 12 Jan 2003 10:40:43 -0500

I have a set of session variables that are set when a user first logs in. They are set in the awake method. When the user moves from one page to another within the application, these session variables do not need to be reset. 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 have an if-then that checks to see if the session variables are at default values. If true it executes the the routine that sets them. How do I get the session variables to stick throughout the session, without having them reset each time the session is awakened?

Thanks,
Clay
_______________________________________________
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.

  • Follow-Ups:
    • Re: Running a Session routine only once, when user first logs in
      • From: Art Isbell <email@hidden>
    • Re: Running a Session routine only once, when user first logs in
      • From: Jonathan Rochkind <email@hidden>
    • Re: Running a Session routine only once, when user first logs in
      • From: steve stout <email@hidden>
  • Prev by Date: Re: saving / addObjectToBothSidesOfRelationshipWithKey
  • Next by Date: Accessing Static Elements
  • Previous by thread: Re: saving / addObjectToBothSidesOfRelationshipWithKey
  • Next by thread: Re: Running a Session routine only once, when user first logs in
  • Index(es):
    • Date
    • Thread