Log in with username/password: lyceum/lyceum

Changeset 1233

Show
Ignore:
Timestamp:
10/21/07 03:47:58 (9 months ago)
Author:
jjb
Message:

Possibly more thorough session destruction under certain circumstances.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/src/lib/functions.php

    r1232 r1233  
    177177 
    178178function lyceum_session_reset(){ 
     179   setcookie(session_name(), '', time()-42000, '/',  '.'.MAINDOMAIN); 
     180   session_unset(); 
    179181   session_destroy(); 
    180    setcookie(session_name(), '', time()-42000, '/'); 
    181182} 
    182183 
Log in with username/password: lyceum/lyceum