Jump to content

session_start() questions


flyhoney

Recommended Posts

I'm writing an application that has an over-abundance of AJAX.  I have a central script that the user interacts with, and several scripts are called via AJAX request to do various things.  It seems however, that multiple scripts running at the same time cannot execute session_start().  Like, If I have one script that is running on the server, that is using sessions, and then kick off another script, the second one will not proceed until the first one is finished.  I need them to run simultaneously.  It appears that session_start puts some sort of mutex on the session file on the server, and locks it from multiple access.  That makes sense.  Am I interpreting the problem correctly and is their a way around it.  I don't want to have to use plain old cookies.

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.