Jump to content

SESSION


jaymc

Recommended Posts

You cant. You'll need to pass whatever data you need via either GET or POST and then create a new session with that.

Another way is to store the session data into a database, then pass the id via the url. From there you can retrieve the session data back from the database.
Link to comment
Share on other sites

I've hit a new problem now

Step one : SESSION created on site.com
Step two : SESSION passed to chat.site.com via GET then a cookie created with the GET data
step three (problem) link clicked on chat.site.com pointing to site.com/messages/index.php. No session read by messages/index.php as session is not able to be passed from chat.site.com to site.com

Cant use get feature as the session is being used as a form of identification and authorisation

basically, I need to pass a username from chat.site.com to site.com and I cant use GET as it can be manipulated. It has to be done with a SESSION so members can inject a different username and gain access
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.