Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Dec 2004
    Location
    Jamaica
    Posts
    592
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Lightbulb Are YOU still connected?

    Is there a way that I can combine the technologies and methods of application variable and session variables to find out if a user's session is still active at some remote location?

    I wanna get that done without the use of any global.asa functions.... So that means.. no onsesison_end or onapplication end or stuff like.

    Please don't ask why. Just anyone.... i spelt out my problem.... Please help!!!

    thanks in advance

  • #2
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can use the Response.IsClientConnected... To check if the client is connected.

    ie.
    'Check to see if the client is connected.
    If Not Response.IsClientConnected Then
    ' do what ever you want to do because the client has gone.
    End If

  • #3
    Regular Coder
    Join Date
    Oct 2004
    Location
    In front of this computer. (Where else?)
    Posts
    442
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Related Links:

    W3Schools
    http://www.w3schools.com/asp/prop_isclientconnected.asp

    MSDN
    http://msdn.microsoft.com/library/en...m_resopicc.asp

    Raj1Patel, welcome to Coding Forums. And your first post is you helping someone else not you looking for help. That's very commendable. Hope to get more of your kind here.
    Last edited by tboss132; 01-28-2005 at 07:24 PM. Reason: typo
    Tomorrow is the first day of the rest of your life... What have you done today?
    Tutorials
    Web: w3schools, htmldog General tips: Hardware, Networking

  • #4
    Regular Coder
    Join Date
    Dec 2004
    Location
    Jamaica
    Posts
    592
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks!
    I'm gonna find a way to download the internet if its the last thing I do...
    Prepare to bow down to me (or my grave) and call me almighty when the algorithm is finished


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •