Re: session control
Re: session control
- Subject: Re: session control
- From: Chuck Hill <email@hidden>
- Date: Fri, 22 Aug 2003 10:36:54 -0700
- Organization: Global Village Consulting, Inc.
I'm not clear on what you are asking.
Richard L. Peskin wrote:
I want to use a WO application "inside" some conventional web site
code. That is, the web site code (html and Perl) would call the WO app
for some specific tasks and the WO app would return control to the web
site code.
>
That should not be a problem.
I want to take advantage of the WO application session
persistence.
>
Assuming you intend the users to go back and forth you will need to
store the session and instance number in cookies. You will also need
to override the WOSession method domainForIDCookies() (actually sets
path but it has been misnamed for a long time) to return "/" so the
cookie gets carried along.
Is there a possible problem with the web site timing out
if the WO app takes too long to complete?
>
I don't understand how an html website can time out. Did you mean
session? You will have to set the session timeout to a sufficiently
high value to prevent this. The default is one hour (from last user
action). I'd think that is several times too much even for your needs.
If so, is there a solution,
e.g. setting a cookie before the WO app is called?
>
I'm not sure there is even a problem.
Chuck
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
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.