Results 1 to 4 of 4
Thread: PHP HTTP authentication
-
07-16-2004, 02:36 AM #1Newbie
- Join Date
- Jul 2004
- Posts
- 11
PHP HTTP authentication
Hi I'm trying to write a php script to login/logout using HTTP authentication and sessions.
I've ran across one problem.
Logging out.
I've found a javascript that I can use to log me out of a ie browser but mozilla is giving me problems.
Does anyone have an idea?
Example of what I'm looking for is like what CPanel does.
Thanks guys,
Bryan
-
07-16-2004, 03:00 AM #2Junior Guru Wannabe
- Join Date
- Nov 2002
- Location
- Finland
- Posts
- 96
Hi
Read the examples in php manual,
there are few solutions for logout...
http://fi.php.net/features.http-auth
-
07-16-2004, 11:41 AM #3Newbie
- Join Date
- Jul 2004
- Posts
- 11
It does and I've already read and used one. I was looking if anyone knew a simple way to clear the authentication cache in a mozilla browser?
-
07-18-2004, 11:53 PM #4Newbie
- Join Date
- Jul 2004
- Posts
- 8
I would look at the code for phpMyAdmin. I know that uses http auth.