<p dir="ltr">That sounds like it's working correctly. You got a new empty session and a cookie for it. I don't think it's expected that you won't get a cookie if your session is empty. </p>
<p dir="ltr">Cheers,<br>
Rik</p>
<p dir="ltr">Sent from my phone.</p>
<div class="gmail_quote">On 3 Mar 2013 15:53, "Punter" <<a href="mailto:punter@punter.gr">punter@punter.gr</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok.<br>
<br>
I went to the Database and deleted the session for which I had a cookie, and next time I loaded a page I got ANOTHER cookie, for a new (empty) session.<br>
<br>
This, I believe, is a bug.<br>
<br>
On 03/03/2013 01:42 PM, David Precious wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, 03 Mar 2013 02:29:47 +0200<br>
Punter <<a href="mailto:punter@punter.gr" target="_blank">punter@punter.gr</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Now whenever I do a page any view, I get a "this website wants to set<br>
a cookie" message<br>
<br>
It shouldn't be like that. If cookie values don't change, then they<br>
should only be set once.<br>
</blockquote>
<br>
Except that, if you don't send the Set-Cookie header again each time,<br>
the cookie's expiration can't be updated - most people want a session<br>
expiry to be extended with each request, so it times out the right<br>
amount of time after the last request, rather than the last time the<br>
session data was updated.<br>
<br>
I think this is quite common and correct behaviour.<br>
<br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/<u></u>mailman/listinfo/dancer-users</a><br>
</blockquote></div>