Jump to content

Recommended Posts

Hey,

  I am having a problem with one of my applications... I have a homepage that loads and makes AJAX calls. I have three calls that are in intervals of about 5,7, and 10 seconds (I use setTimeout though)....

 

However, every now and then my script hangs on session_start(); (I know its this because I can load up any other pages that do not contain it)...

 

After that happens I can't open up ANY page with session_start(); ... Until what it seems like the session expires and you have to re-login.

 

Anyone know what can be causing this... I use session_write_close(); to the point where its as fast as it can close it, a reopen it to save anything quickly and reclose. (don't have it open in loops and things like that that may take time)....

 

Any Help? ????  :wtf:

Driving me nuts!!

 

Thanks ahead!!

Link to comment
https://forums.phpfreaks.com/topic/241946-help-session_start-freezing-up-scripts/
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.