Hi,
i am using a Cookie which has a timeout as a "-value",
when it expires i want to send a new one which should replace this one.
it the accesshandler is have a
"verify_cookie"-method which
checks the timeout, if it's expired then i call
...
$cookie = CGI::Cookie->new(-name => 'myCookie',... etc -Value => {'Time' => $newtime
.... })
$r->headers_out->add($cookie);
...
If the user is surfing to different pages this works,
but if he just hits reload the cookie is not being set by the browser
(Netscape seems to check the date of the file or something like that)
OR the browser gets the old cookie again - at least thats what Konqueror tells me.
Is there a way to force a browser to set a new cookie on reload?
Thanks,
Nenad