1820095 Members
3488 Online
109608 Solutions
New Discussion юеВ

mod_auth

 
Clod Patry
New Member

mod_auth

id like to kill a session authorized by mod_auth.
how can i make it ?
im coding with php,and the unset($_SESSION didnt work.
i cant find help about it on apache.org
thanks.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: mod_auth

I'm attaching a skill script that can be taken from or modified for linux. It will kill the session if it has a process id.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Clod Patry
New Member

Re: mod_auth

hi, thanks for the script, but there's just one problem: how can i know which pid is the current one?

ive tried to:
unset($_SERVER['PHP_AUTH_USER']);
unset($_SERVER['PHP_AUTH_PW']);
in my php code and ive still the same problem. probably cause the $_SERVER are read-only.