Announcement

Collapse
No announcement yet.

%IsConnected% - Really checking connection??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • %IsConnected% - Really checking connection??

    Hey

    I included that internet-connection-checker in a project and tried to test it by entering a web-adress which does not exist, like: www.jnbiuewffiwufpewfewuf.com.
    Logically my "offline"-page should now appear, since I did set the following code:

    %IsConnected%=Internet.CheckConnection("http://www.jnbiuewffiwufpewfewuf.com")
    IF (%IsConnected%)
    File.Open(open,"http://www.yahoo.com")
    ELSE
    File.Open(open,"%SrcDir%\offline.htm")
    END IF

    But this does not seem to matter. All I see is Yahoo.com even though the checker is being lead to nowhere... [img]/ubbthreads/images/icons/frown.gif[/img]

    What's the error?

  • #2
    Re: %IsConnected% - Really checking connection??

    There is no error; it's just successfully detecting your Internet connection. [img]/ubbthreads/images/icons/smile.gif[/img]

    The CheckConnection action has a "fallback" URL that it will use if the URL you provided can't be reached.
    --[[ Indigo Rose Software Developer ]]

    Comment


    • #3
      Re: %IsConnected% - Really checking connection??

      It makes my system hang/crash every single time if I try to use it when offline. No time out?

      Corey

      Corey Milner
      Creative Director, Indigo Rose Software

      Comment


      • #4
        Re: %IsConnected% - Really checking connection??

        mine times out after like ~2 minute..
        im sure its been suggested, but the ability to set a timeout would be REALLY benificial.. [img]/ubbthreads/images/icons/laugh.gif[/img]
        or at least lower the normal timeout to like 30seconds [img]/ubbthreads/images/icons/tongue.gif[/img]

        Comment

        Working...
        X