who is online

Results 1 to 2 of 2

Thread: who is online

  1. #1
    Join Date
    Dec 1969

    Default who is online

    I am making a multi-player flash game. It has an asp backend with very simple functionality - adding each users moves into db and refreshing the .swf movies every 5 seconds. What I want to add is the ability to challenge another player. The first stage here is to add a list of players currently online. <BR><BR>my question...<BR><BR>how do I know who is online? session.sessionID? what are the logistics

  2. #2
    Join Date
    Dec 1969

    Default RE: who is online

    Applcation("CurrentPlayers")<BR><BR>when they login to the game add them to an application variable<BR><BR>If Len(Applcation("CurrentPlayers")) = 0 Then<BR>Applcation("CurrentPlayers")=Request.form( "UserName")<BR>Else<BR>Applcation("CurrentPlayers" )=Applcation("CurrentPlayers") & "," & Request.form("UserName")<BR>End If<BR>

Posting Permissions

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