Problem with Comet

Posted on 2011-04-26
Last Modified: 2012-05-11

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?
Question by:Mohamed Abowarda
    LVL 48

    Accepted Solution

    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().
    LVL 7

    Assisted Solution

    by:Vimal DM

    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

    LVL 12

    Author Comment

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

    Any suggestions?
    LVL 6

    Expert Comment

    Check your server logs for errors...
    LVL 12

    Author Closing Comment

    by:Mohamed Abowarda

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
    This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
    In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
    HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now