W
webdevaccount
Hi,
I am trying to deceive whether I should use Asp.net 2.0's
FormAuthentication (cookie) or the Session object to store the login
ID of a given user.
Question 1: Assuming that the app will only run on a single server
(not a web farm), which option would perform better (in terms of
execution speed)?
Question 2: If I were to use a cookie, how would I be able to get the
number of users that are currently logged in?
(without using a session)
Thank you for your time and advice.
Regards,
Charles.
I am trying to deceive whether I should use Asp.net 2.0's
FormAuthentication (cookie) or the Session object to store the login
ID of a given user.
Question 1: Assuming that the app will only run on a single server
(not a web farm), which option would perform better (in terms of
execution speed)?
Question 2: If I were to use a cookie, how would I be able to get the
number of users that are currently logged in?
(without using a session)
Thank you for your time and advice.
Regards,
Charles.