Ticket Details
Session: cookie adapter with hmac strategy fails after write
BUG Ticket (closed)
###What happened:
- HMAC tampering RuntimeException after a Session::write()
###What was expected:
- the signature cookie should change to reflect the new data after a Session::write()
Reproduce code (controller; run this twice from the same browser session):
{{{
try {
$read = Session::read('t');
} catch (MissingSignatureException $e) {
// ignore; we're starting a new session
$read = false;
}
if (!$read) {
Session::write('t', time());
}
}}}
Updates
on 04.12.11
by jperras
- owner was changed to jperras
- status was changed to in progress
(duplicate)
on 07.03.11
by daschl
- owner was changed to daschl
- status was changed to closed
- resolution was changed to duplicate