duffee / Mojolicious_session_example

A simple Mojolicious application example for authenticating a user and maintaining a session
Artistic License 2.0
9 stars 5 forks source link

Check whether sessions time-out #15

Open duffee opened 8 years ago

duffee commented 8 years ago

make sure that sessions properly expire after their time out.

duffee commented 8 years ago

The cookie loses it's username attribute but $self->session('logged_in') is still true. A Mojo bug?

duffee commented 8 years ago

Need to finish with a return undef; at the end of the is_logged_in() method in order to prevent further access.