• 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: Shutting off WOSID ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shutting off WOSID ?


  • Subject: Re: Shutting off WOSID ?
  • From: Mike Schrag <email@hidden>
  • Date: Sat, 21 Apr 2007 09:20:18 -0400

1) If you have anything in the page that requires a session, it will generate sessions for everything. For instance, you can't have any component actions anywhere on your page. The easiest way to do this is to just put a Thread.dumpStack() in your session constructor, and you'll see pretty fast where they are being created.

2) Data in context userInfo lives for the life of a single context (/ sort of/ equivalent to a single request), and the session lives across many contexts. If you want data persistent across multiple requests, you have two options -- WOSession or manually pass all your state around all the time.

ms

On Apr 21, 2007, at 9:11 AM, James Cicenia wrote:

Hello -

I have been trying to convert my app to be Direct Action only with no session.

1) My first page renders great. Then we a user clicks on anything to go to a
second page, all the links on the second page get appended a WOSID ?
Why? I have removed the word session from my code and wod files wherever
I could.


2) What is the difference in storing things in the a subclass of context vs session?

Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


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: Shutting off WOSID ?
      • From: James Cicenia <email@hidden>
References: 
 >Shutting off WOSID ? (From: James Cicenia <email@hidden>)

  • Prev by Date: Shutting off WOSID ?
  • Next by Date: Re: Shutting off WOSID ?
  • Previous by thread: Shutting off WOSID ?
  • Next by thread: Re: Shutting off WOSID ?
  • Index(es):
    • Date
    • Thread