chriss
|
| Posted: 08/20/2007, 8:59 AM |
|
I'm using CodeCharge 2.3 & PHP
How do I create a function to log out??
Is it possible to logout automatically after a period of inactivity??
|
|
|
 |
joseph2k
Posts: 72
|
| Posted: 08/21/2007, 7:01 PM |
|
Just use CCS to create a logout page and point to that page, redirect from that logout page to home page.
You need to reset length of sessionID.
Just Google it "php reset sessionid length" or something like it.
|
 |
 |
jmancera
Posts: 13
|
| Posted: 09/06/2007, 7:20 AM |
|
you can achieve this using
session_destroy if you are in php
you can do this automatically only if you have either an autorefresh in your page and your server timeout is set to destroy session after a while...
Regards
|
 |
 |
|