Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

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?
Mohamed Abowarda
Mohamed Abowarda
2 Solutions
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 DMCommented:

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:

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now