Hi,

I've seen that if I skip setting the cookie_domain for the session in MyApp.pm, the authentication works for all the domain names, but only if I use Internet Explorer.

Firefox doesn't like the cookies without a domain set so the authentication doesn't work at all with this browser.

So the best solution is to use in Root.pm:
$c->config->{session}->{cookie_domain} = $c->req->hostname;

It could be helpful if this could be done automaticly if there is no cookie_domain set for the session, instead of not sending any domain.

Octavian


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to