newperldeveloper has asked for the wisdom of the Perl Monks concerning the following question:
After the upgrade i am getting the following error message in the log Cookie "download_app" is not signed. After adding secret=>'my secret' I am still getting the same error. I am taking over for someone and I believe the code is acting as a wrapper for mojolicious that lets you login to the viewing app code. Downgrading Mojolicious removes the error. And if i login to cgi app i have access to the viewing app and vice versa.builder { enable 'Session', store => Plack::Session::Store::File::Mojolicious +->new($ENV{directory} ? (dir => $ENV{directory}) : ()), state => Plac +k::Session::State::Cookie::Mojolicious->new(secure => 1, session_key +=> 'download_app'); $app; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cookie not signed after upgrading mojolicious
by Corion (Patriarch) on Jul 21, 2021 at 11:15 UTC | |
by newperldeveloper (Sexton) on Jul 21, 2021 at 12:05 UTC | |
by Corion (Patriarch) on Jul 21, 2021 at 14:11 UTC | |
by newperldeveloper (Sexton) on Jul 21, 2021 at 17:01 UTC |