user online offline session

From: roger (pageme_at_ntlworld.com)
Date: 03/25/05

  • Next message: Oli Filth: "Re: user online offline session"
    Date: Fri, 25 Mar 2005 19:01:47 GMT
    
    

    I have a desktop app that uses a local client socket to post logon commands
    to a website using php scripts, at the moment i am using the logon details
    to write to a db every x amount of minutes to tell any searches that user x
    is online and if the app closes then it posts a logoff prior to closing,
    when someone does a search from their desktop app it posts the request to
    the php script and the results found are checked against if lastlogon <
    currenttime - threshold then user online else mark offline for those that
    shutdown without the chance to send the logoff etc..
    now obviously i have to have the users desktop app re-logging on at
    intervals to update the last logon time so..

    1) Is their a better way considering i am not using a browser etc...like
    session_start , session destroy etc...

    2)Also can sessions detect if a users internet connection breaks or if their
    pc crashes or reboots etc.


  • Next message: Oli Filth: "Re: user online offline session"

    Relevant Pages

    • Re: user online offline session
      ... > I have a desktop app that uses a local client socket to post logon commands ... > to a website using php scripts, at the moment i am using the logon details ... > when someone does a search from their desktop app it posts the request to ...
      (alt.php)
    • Re: I really hope Obama does not win the nomination
      ... to logon and check again Saturday afternoon it had grown from 50 posts ... In the one minute it took me to logon, ... "Next came Yale Law School, where Hillary focused on questions about how the law affected children and began her decades of work as an advocate for children and families. ... she became a staff attorney for the Children's Defense Fund. ...
      (rec.music.artists.springsteen)
    • RE: Slow logins on WXP Clients in a Windows 2003 Environment /w Group
      ... I'm Sean from Microsoft CIBS OS & APP team and I'll helping you on this ... Since I can see the posts sent by the customers who bought Technet services ... 1, Check fast logon settings. ... Check logon information to see what the system is doing when logon. ...
      (microsoft.public.windows.group_policy)
    • Re: Wireless laptops and Group Policy
      ... win2000.public.networking newsgroup if you want to check the posts there and ... but too late to have initial logon Group Policy ... That can be done in the appropriate security policy such as at the ... wireless network to respond the user may get a message that they can not ...
      (microsoft.public.windows.server.networking)
    • Re: I really hope Obama does not win the nomination
      ... Between the time I went to sleep Friday night and the time I was able ... to logon and check again Saturday afternoon it had grown from 50 posts ... In the one minute it took me to logon, ... In 1972 She was helping run the McGovern campaign in Texas.In 1973, ...
      (rec.music.artists.springsteen)