Re: WO and Search Engines
Paul Lynch <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
On 15 Mar 2006, at 15:26, David Griffith wrote: > If I was to use direct actions only and create a session when it's > required, what is the best way to access the session once it has > been created? Would you create a reference to it in the > Application class or something? What I mean is, how would the next > 'sessionless' direct action page use the session if it required > it? The point of using Direct Actions presumably being that it > would not have any reference to any session as such. Use session(). WO will pass the session object around if you need it, including through direct actions. In fact, getting rid of a session when you don't want it is the hard part :-). The concept to follow is that direct actions are not inherently sessionless; they just don't require a session to function. Paul