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

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

Problem with Comet

Hi,

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 http://127.0.0.1 it works.

How can I fix that?
0
Mohamed Abowarda
Asked:
Mohamed Abowarda
2 Solutions
 
hernst42Commented:
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 127.0.0.1 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().
0
 
Vimal DMCommented:
Hi,

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

2) Sometimes using the browser setting may cause this problem



0
 
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?
0
 
Mike DSolution ConsultantCommented:
Check your server logs for errors...
0
 
Mohamed AbowardaSoftware EngineerAuthor Commented:
Thanks,
0

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