Jump to content

Getting session cookie


HighFlyerPL185

Recommended Posts

Hi,

I have implemented a language selection, and I have created multiple phpVMS directories for each language e.g. under /en, /nl etc. The language selection option box posts data to a language_switcher.php which creates a cookie for the language and redirects the user to the respective language directory. I happen to be logged in across the domain. Once the script redirects me, the cookie is not getting initiated as the login boxes appear - but the session is there, as once I refresh the page or navigate to another one, I am logged in.

How can I fix this issue. Would it help getting the session cookie and loading it before redirecting the user?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...