On Tue, 22 Mar 2005, Cees Hek wrote:

2) Give out cookies only when someone has logged in. (or registered ?)

This should be quite easy. Just make sure you do not call $self->session unless you really need to... If you always need to call $self->session to figure out if someone is logged in, then I would suggest you handle the cookies manually by setting SEND_COOKIE to 0 and calling $self->session_cookie manually when you know you have a valid session. You could do this in the same location as you do your authentication.


Thanks for the quick reply.

I did this and it does not set the cookie any more but still
creates the entry in the database :(

Gabor

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to