[mod_python] Newbie ?s regarding sessions

Surendra Lingareddy slingareddy at Crossroads.com
Mon Nov 20 15:56:48 EST 2006

I am attempting to create a login page and want to get to a point where
I can do the following. A) Login a user and redirect to website's
index.html, on failure redirect to loginFailed.html. B) Maintain user
session for 3 minutes and then force the user to re-login  C) Once
logged in, if the user is in-active for more than 3 minutes, then force
the login page back again when the user takes some action.


Do I have to use authenHandler for this or can I just use publishHandler
combined with sessions and cookies. All suggestions are welcome.



CONFIDENTIAL: This email, including its contents and attachments, if any, are confidential. If the reader of this e-mail is not an intended recipient, you have received this e-mail in error and any review, dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by return e-mail at [emailaddress at crossroads.com] and permanently delete the copy you received. Copyright and other intellectual property rights in its contents are the sole property of Crossroads Systems, Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of the message which arise as a result of email  transmission.  Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this email or any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20061120/16c470f7/attachment.html

More information about the Mod_python mailing list