Jump to content

regarding Sessions in PHP


mandarchalke29

Recommended Posts

Dear sir,

 

    I have created a chat application using PHP,Javascript and MySQL which is embedded in my web site. I have created a link to go from that website to chat application in the same browser. I have used a window.open to open a new window for chat application which will show you which users are online. Everytime when i click a user in the list a new window gets opened but the session used for both the windows is the same. I have taken that user's id from $user=$_GET['q]; where q is the userid. and stored the value of user in a session called $_SESSION[user_id]=$user; everytime when it opens a new window. The problem is that i need different session for different windows opened. Could anyone please help me. Its very urgent.

 

Mandar Chalke ::)

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.