Do you have a question? Post it now! No Registration Necessary. Now with pictures!
December 20, 2006, 2:58 pm
rate this thread
I've a problem authenticating a user.
When a user is not authenticated he's being redirected to
index php will then send the following header
I'm sending the user this header to authenticate a user:
header('WWW-Authenticate: Digest '.
// 'domain="'.$this->baseURL.'", '.
where $this->baseURL ="/";
The user is then authenticated on my server and can see the page
if I send requestes for /index/index.php I see that the client
correctly sends Authorization headers in the response so there is no
Then If the user go to /query/indexquery.php or somewhere else, his
browser (which is IE6) doesn't send Authorization headers so I can't
check whether he is authenticated or not.
I've tried to change baseURL to be "\" or "//". I just can't figure it
out why I get this problem, when by setting the domain to "/" I
expected to be authenticated on the whole site and not just in some
Anyone has a clue of what's happening?
- » How to disable right click and ctrl+c use in a web page
- — Previous thread in » PHP Scripting Forum