Bug 7810 - C4/Auth.pm - on plack restart session is undefined
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 23 Mar 2012 08:54:25 +0000 (09:54 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 11 Jun 2012 16:11:52 +0000 (18:11 +0200)
commit91bf568114b3181f340d29e6491ea0008ae9694f
tree89b8e9f700ea2335c63c558301b34bb0cff95a45
parent186cfa5cb00a1c0ee7f0e4512a5f319299bb6412
Bug 7810 - C4/Auth.pm - on plack restart session is undefined

So we shouldn't try to delete it. This produces application error
instead of redirection to login page.

I had similar problems with CGI, especially when session in browser
is still active, and one on filesystem or database is already expired.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Solved the problem when my Plack installation started acting up due to
stale cookies.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Auth.pm