DelphiFAQ Home Search:
General :: Windows :: Apache :: mod_perl


Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

How to make a cookie timeout (using Apache::AuthCookie)

Question:

I use module Apache::AuthCookie to protect parts of our web site by a login which creates a session cookie. I want this session cookie to expire after 30 minutes of inactivity. How can I do that?

Answer:

Module Apache::AuthCookie has already an option for that. In httpd.conf (or per directory, in htaccess.txt) you can configure the following:

PerlSetVar WhatEverSessionTimeout +30m

you may need to replace 'WhatEver' with the name of your protected section.


Generated 0:02:11 on Jan 19, 2017