Re: hardcoded DirectActions URL
Re: hardcoded DirectActions URL
- Subject: Re: hardcoded DirectActions URL
- From: Chuck Hill <email@hidden>
- Date: Tue, 12 Aug 2003 08:36:42 -0700
If you use WOContext to generate the URL the wosid should be automatically
included. Another alternative is to store the session ID in a cookie.
Chuck
At 05:07 PM 12/08/2003 +0200, Santiago wrote:
>Hello all
>
>I'm making a wiki engine and I'm facing a problem with the internal
>links.
>Beeing a wiki site, the page contents are edited by the users so the
>links to other pages -inside the site- cannot be set with WOBuilder. My
>first thougth was to make hardcoded links within the text of the form <a
>href=/cgi-bin/WebObjects/wa/myAction?title=xxx>. This works fine except
>that the application generates a new session (and a new DirectAction)
>each time a link is clicked -because the lack of ?wosid in the URL, I
>think-.
>I'm trying to figure out how to put the wosid in the URL so the
>Application understand that it should use the existing session. All the
>methods i've seen come into play after the Application has created the
>new objects and, by now, I'm a bit confused with the application flow
>and where can I intervene.
>
>Any idea welcome
>Greetings, Santi
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.