Re: Shutting off WOSID ?
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