HighTechTalks DotNet Forums  

Session vs Cookie performance for Authentication

ASP.net ASP.net discussions (microsoft.public.dotnet.framework.aspnet)


Discuss Session vs Cookie performance for Authentication in the ASP.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
webdevaccount@gmail.com
 
Posts: n/a

Default Session vs Cookie performance for Authentication - 07-26-2007 , 09:01 AM






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.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.