diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-29 10:46:34 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-29 22:40:21 +0100 |
commit | ba55bd341e99c674619ac6295526038b5770fe3e (patch) | |
tree | d6b7287a854fbe6454b33dd08e6bd96bb13e436c /perllib/Catalyst | |
parent | d6d8dc4e0080e3184751cf381bbd14581c970c62 (diff) |
Get cookie expiry to work, and correct IDs on checkboxes.
Diffstat (limited to 'perllib/Catalyst')
-rw-r--r-- | perllib/Catalyst/Plugin/Session/State/Cookie.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/Catalyst/Plugin/Session/State/Cookie.pm b/perllib/Catalyst/Plugin/Session/State/Cookie.pm index 7ffc77f1f..c4b61123b 100644 --- a/perllib/Catalyst/Plugin/Session/State/Cookie.pm +++ b/perllib/Catalyst/Plugin/Session/State/Cookie.pm @@ -127,6 +127,8 @@ sub set_session_cookie_expire { else { delete $c->session->{__cookie_expires}; } + # Force the cookie to be regenerated + $c->set_session_id( $c->sessionid ); return 1; } |