[Pro] Leaving a Secure Directory

When I have a few pages within a secury directory, how can I define a LOGOUT and a LOGOUT Message?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you’re using Apache Realm security (user/password set up in your hosting provider’s control panel) then the only way for a person to log out is to quit their browser. The session lasts as long as the browser does. If you are using a cookie-based system (coded in PHP or another scripting language) then you just have to destroy or reset the cookie to log the person out.

Walter

On Jan 30, 2013, at 9:16 AM, TomP wrote:

When I have a few pages within a secury directory, how can I define a LOGOUT and a LOGOUT Message?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you Walt. Do you think that a php based system would be better? There are only a small handfull of users who use these protected pages and there is no register me possibility needed.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Only if there is a security issue with someone logging in once, then never closing their browser and walking away from a public computer.

If you really need time-outs, then you need to use a PHP or other session-based login, where you can control the aging of the cookie.

Walter

On Jan 31, 2013, at 3:33 AM, TomP wrote:

Thank you Walt. Do you think that a php based system would be better? There are only a small handfull of users who use these protected pages and there is no register me possibility needed.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options