Problem with Comet


When I open http://localhost and Comet make connection using iframe it work perfectly.

If I tried to open http://localhost in another browser tab it keep delaying without show the page, however if I changed from http://localhost to it works.

How can I fix that?
LVL 12
Mohamed AbowardaSoftware EngineerAsked:
Who is Participating?
If you start a session and do not close the session other request will wait in PHP till the session is free. As the session cookie is not send to a new session wil be gernerated there and you can continue to work there. Check if you can close your session in the comet part with session_write_close().
Vimal DMSenior Software EngineerCommented:

1) Find out from HTTPCONFIG file that accepts the "localhost and " as the default IP

2) Sometimes using the browser setting may cause this problem

Mohamed AbowardaSoftware EngineerAuthor Commented:
Sometimes the web address become completely inaccessible, no matter the page I am trying to access is using sessions or not.

Any suggestions?
Mike DSolution ConsultantCommented:
Check your server logs for errors...
Mohamed AbowardaSoftware EngineerAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.