Re: DirectAction question
Re: DirectAction question
- Subject: Re: DirectAction question
- From: Alexandra <email@hidden>
- Date: Mon, 11 Jul 2005 22:16:49 +0200
I just realized that I also have a few question around this issue...
If I want to use a number of WOActiveImages as the top menu on my site and some pages require login (a forum for instance) what would be the best way to store the session details?
My idea is that it is good that the main pages of the site are bookmarkable (hence using DirectActions) but still I want only one session object to be created for each user and keeping track on whether the user have logged in or not. Each time the WOActiveImage is clicked a new SessionID is created, right?
Are there any differences in how sessions are created if I store info in a cookie or using Session ID:s in the URL?
Maybe trivial questions, but would be nice to get some comments on a smart way to solve this common design problem...
Regards,
Alexandra RFSL Media Stockholm, Sweden
11 jul 2005 kl. 02.40 skrev Jerry W. Walker:
Also, if I create a session in one component, this session shows up in the URLs on exactly this page, but only on WOHyperlinks that use the standard "action" binding.
That's because action bindings have to be handled by the component action request handler and require the session ID, so WOComponent automatically generates these for you if you use the action binding instead of the actionClass and directActionName bindings (which will not include the session ID).
|
_______________________________________________
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