locked
How to avoid Multiple session for same user asp.net(3.5 c#) RRS feed

  • Question

  • User1293050055 posted

    Hello..

    How to avoid multiple session for same user in asp.net 3.5 c#.

    Somebody  help me. it's urgent.

    Wednesday, July 11, 2012 7:36 AM

All replies

  • User108816611 posted

    you will have to log each session to database. Set flag and timestamp of last used time. For each requests you will have to set the timestamp. If the user has been idle for a particular amount of time, reset the flag using pagemethods and then force session timeout.

    Wednesday, July 11, 2012 7:51 AM
  • User1779161005 posted

    I guess the real key is how to you tell if it's the same user? Are they authenticating?

    Wednesday, July 11, 2012 9:50 AM