Results 1 to 2 of 2

Thread: Session QUESTION

  1. #1
    Cloira Guest

    Default Session QUESTION

    I made a message board for my website but I was wondering, how can I add "Who&#039;s online" feature?<BR>I have over thousands of members and getting about 1000+ posts a day<BR>I know there is a way to do this, but I&#039;m not sure how<BR>I give all members session("userid"), can you help me with this?

  2. #2
    Join Date
    Dec 1969

    Default No...APPLICATION question...

    Since no user can see another user&#039;s SESSION values, you&#039;ll want to store all currently online users in an APPLICATION variable. Presumably, in an array that is stored in an Application variable value. See the ASPFAQs, category Arrays, for ideas on doing that.<BR><BR>You&#039;ll need a way of taking users out of the array when they exit, of course. Or when their session times out. And you need "clean up" code in case their Session_onEnd never fires.<BR><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