Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"Sticky" sessions?

310748Dec 3 2003 — edited Dec 3 2003
I have an app with some pages set to public (schedule, search etc) and others requiring authentication (using the HTMLDB authentication scheme with a custom authentication function).
All of that is working fine, but what I'd ideally like to be able to do is make the authentication persist for some length of time from the login. I can see the cookie that gets posted to the browser (WWV_CUSTOM-F_773901817361648_109 for example) along with the LOGIN_USERNAME_COOKIE. The login_username_cookie can be easily retained by adding the expires parameter to the process in the login form, but I can't find anyway of making the session information stick beyond the life of the browser session.

The reason for this is that I'm putting together a workflow type process with HTMLDB at the centre - user input is be initiated by emails with URL's to the HTMLDB app. Ideally, the users only want to authenticate once a day rather than each time they open the browser from a message, so I need to put something like "expires => trunc(SYSDATE + 1)" on the setting of the session cookie.

Any suggestions?


Andrew
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2003
Added on Dec 3 2003
1 comment
2,252 views