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
I used SHM but my Session Cookie is trusted without login on a separate APISIX dataplane pod without login
I'm using lua-resty-session with shm (shared memory) storage for session management in APISIX. However, I have multiple APISIX instances running, and every time a request is routed to a different instance, a new session is created instead of maintaining the same session
nginx Configuration:
http_configuration_snippet: |
proxy_buffering off;
lua_shared_dict sessions 10m;
http_server_configuration_snippet: |
set $session_name "apisix_session";
set $session_storage shm;
set $session_shm_uselocking off;
Expected Behavior:
The session should be shared across all instances, so a user stays logged in even when their request is routed to a different APISIX pod.
The text was updated successfully, but these errors were encountered:
I used SHM but my Session Cookie is trusted without login on a separate APISIX dataplane pod without login
I'm using lua-resty-session with shm (shared memory) storage for session management in APISIX. However, I have multiple APISIX instances running, and every time a request is routed to a different instance, a new session is created instead of maintaining the same session
nginx Configuration:
Expected Behavior:
The session should be shared across all instances, so a user stays logged in even when their request is routed to a different APISIX pod.
The text was updated successfully, but these errors were encountered: