spacey has asked for the wisdom of the Perl Monks concerning the following question:
Hopefully this information may help somebody going though the same headache.
The biggest stumbling block was that IE 6 (grr Microsoft) would not interpret the header that’s passed to it when using the example code.
So you end up seeing the html output as text and not the form you expect to see.
I finally found and explanation berried in a deep and dark forum :)
And encase anybody else is struggling, the answer is to add
$r->content_type("text/html");
Just above the send_http_header line at the end of the code.
Also If you struggle to get Apache::AuthCookieDBI to send the actual cookie make sure if you're on an https (ie mod_ssl) that you add
"PerlSetVar WhatEverSecure 1"
to your httpd.conf file or .htaccess whichever is appropriate.
NOTE: only add this line if your on https.
Well I hope the above information helps somebody?
I’d like to point out that the above comments are based on my own experience of configuring AuthCookieDBI and as such are just the opinion of one person(me).
Now to my current problem,
Having logged into the site via the login form.
How do i issue a logout?
I’ve studded the AuthCookie help notes on login out but unfortunately i can’t find the right syntax for AuthCookieDBI.
Any suggestion or comments gratefully received.... good or bad
kind regards
Gareth
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: AuthCookieDBI questions and answers
by fuzzyping (Chaplain) on Aug 02, 2004 at 11:15 UTC | |
by spacey (Scribe) on Aug 02, 2004 at 16:03 UTC |