You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ok, in my setup, though Redis serialization is given as optional, if I enable it, redirection works for me
-- In my carton cpanfile I have the following modules
requires "Sereal::Encoder";
requires "Sereal::Decoder";
requires "Dancer2::Session::Redis";
requires "Dancer2::Session::Redis::Serialization::Sereal";
-- so carton install installed these modules
Hi,
I have
When I use Memcached, session it is working fine. But when I installed Redis and setup Redis session engine in config.yml, session data is lost.
Config.yml:
engines:
session:
Redis:
cookie_name: sippat_localhost.session
cookie_duration: 86400
session_duration: 86400
redis_server:
127.0.0.1:6379
session: Redis
My redis-cli ping PONG works fine and able to see the same session ID both in the browser and redis-cli (KEYS *);
To redirect I use, redirect uri_for('/users/' . $user->id); but I keep getting back to sign-in page.
Tried understanding issue 811 but it seems older versions of Dancer2.
Being a noob to both Perl and Dancer2, hope I have not missed something important to do or report here.
The text was updated successfully, but these errors were encountered: