Welcome to Dream.In.Code
Become an Expert!

Join 150,071 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,809 people online right now. Registration is fast and FREE... Join Now!




How to track website users logged in

 
Reply to this topicStart new topic

How to track website users logged in, Wondering how developers, in general, track users logging in or out of

andym0908
27 Feb, 2008 - 06:19 AM
Post #1

New D.I.C Head
*

Joined: 27 Feb, 2008
Posts: 2

Hi all

This is my first post here, and it's a general query.
I have built websites before in classic ASP, where users are kept logged into a website by using the session object. Now I'm making the transition to .NET (C#), I'm wondering if I can still use the session object, and if so, is it wise to use it, or is there perhaps a better, more advanced facility in the .NET framework?

Cheers for any help/suggestions,
Andy
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: How To Track Website Users Logged In
27 Feb, 2008 - 12:48 PM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
The Session Object is still available to you in ASP.Net, and I use it constantly. There are other ways of handling state in an ASP.Net Application, such as using the built in Session State methods available in .Net. using the Session object has several drawbacks such as it isn't good if your application is hosted in a server farm, if the Application Pool is recycled you will loose the session and if a person doesn't accept HTTP cookies you cannot use the Session Object.

If I were you I would read the Session State link I provided above, this will give much better alternatives to using the Session Object. Hope that answers your questions smile.gif
User is offlineProfile CardPM
+Quote Post

andym0908
RE: How To Track Website Users Logged In
27 Feb, 2008 - 02:01 PM
Post #3

New D.I.C Head
*

Joined: 27 Feb, 2008
Posts: 2

Thank you... yes you did answer my question, and I'm very thankful for the link you sent! smile.gif

Cheers
Andy
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: How To Track Website Users Logged In
27 Feb, 2008 - 02:34 PM
Post #4

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
No problem glad I could help. Now tell all your programming buddies about us smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 10:57PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month