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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/arroz% 40guiamac.com

This email sent to [EMAIL PROTECTED]


      "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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to