Re: Sending Cookies from Access-Handler - Fixed

2001-06-15 Thread Rodney Broom
Something else, I haven't used CGI's cookie handling, but I have used Apache::Cookie. I know that this can be done from an AuthenHandler and from a TransHandler. --- Rodney Broom

Sending Cookies from Access-Handler

2001-06-15 Thread Nenad
Hallo, After reading the "Writing Apache Modules .."-book, i took the ticketserver code as the foundation for a new Authtentication Module. I want Cookies which have expired to silently "refresh". so as a test i have code similar to this package Apache::PermanentTicketRenewer my Counter; sub ha

Re: Sending Cookies from Access-Handler - Fixed

2001-06-15 Thread Nenad Steric
Ok, i think i should really go to sleep now ... It was using the wrong domain ! forgot to tell apache that it is called "www.my.com" as i was sending cookies for ".my.com" ... strangely under win32 this didn't work even with the right domain... good night, Nenad > > Ok, > i tried the push_

Re: Sending Cookies from Access-Handler - Update

2001-06-15 Thread Nenad Steric
I was wrong, there is no cookie being set at all. So, what happens is that the handler gets called i get an entry in the error_log like "setting cookie Ticket=ID&1; ... expires=Sun, 15-Jul-2001 ..." and No Cookie being sent to the browser. Is it possible to send cookies from the Accesshandler ?

Re: Sending Cookies from Access-Handler

2001-06-15 Thread Mike & Christine
- Original Message - From: Nenad <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 15, 2001 4:58 PM Subject: Sending Cookies from Access-Handler > Hallo, > > After reading the "Writing Apache Modules .."-book, > i took the ticketserve

Re: Sending Cookies from Access-Handler

2001-06-15 Thread Rodney Broom
From: Nenad <[EMAIL PROTECTED]> > -expires => '+1M', What's the expiration date shown in your browswer? > $r->warn('setting cookie ',$cookie);# this shows up in the error_log What does this show in the error log? I'm guessing "setting cookie Apache::Cookie". --- Rodney Broom Programmer

Re: Sending Cookies from Access-Handler - Update 2

2001-06-15 Thread Nenad Steric
Ok, i tried the push_handlers with PerlFixupHandler, as before this gets called also , i get an entry in my error_log (because i use $r->warn to log) and again no cookie is being sent ... For the record : i am using apache 1.3.20 and modperl 1.25 Do i have to do a redirect or something similar