• 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: Miguel Arroz <email@hidden>
  • Date: Sat, 21 Apr 2007 15:14:26 +0100

Hi!

  There's also a small detail... Put this in your Application() method:

// This is necessary because the default request handler is "wo", not "wa".
// This means that the default handler will create the "main" component, not
// call the "main" direct acion. That would create a session for every hit
// in the index page, which is obviously not good. This line avoids that.
setDefaultRequestHandler(requestHandlerForKey (directActionRequestHandlerKey()));


  Yours

Miguel Arroz

On 2007/04/21, at 14:11, 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:
40guiamac.com


This email sent to email@hidden


      "GUERRA E' PAZ
       LIBERDADE E' ESCRAVIDAO
       IGNORANCIA E' FORCA"       -- 1984

Miguel Arroz
http://www.ipragma.com



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

  • Prev by Date: Re: Shutting off WOSID ?
  • Next by Date: Re: Shutting off WOSID ?
  • Previous by thread: Re: Shutting off WOSID ?
  • Next by thread: Re: Snapshot problems - Solved, sort of
  • Index(es):
    • Date
    • Thread