Unable to set custom session id #50583
Unanswered
deepsidhu1313
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Sorry if I don’t answer your question directly but this looks like a X/Y problem to me. What is the “thirdparty cookie issue”? Would changing the session’s name fix it? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To overcome thirdparty cookie issue, i am trying to set a custom session id for different users using
Symfony\Component\HttpFoundation\Session\Session
class, for some reason symfony generates a new id instead of the id i am trying to pass. Does anyone know if i am doing anything wrong ? if i change the sequence then it throws exception that session has already started.(could anyone confirm whether this could be a php bug, i am using php 8.1)
Beta Was this translation helpful? Give feedback.
All reactions