When using Session.Sessionid i know it resets when the session is ended, but is there a way that Session.Sessionid gets different id's maybe for some internet companies?
Im just wondering if its good to use Session.Sessionid to track the users or if i should just save Session.Sessionid in a cookie and then access it from their.
As you know session.sessionid give you a unique id number for that session on the server when the user access the web page. i am using that number to track the visitors to see where people are and a bunch of other stuff. so what i need is to have that session.sessionid number on everypage and it not changing while they are on the site.
I thought that i heared that people on aol or something get random ip address everytime they try and access a page. now i know they get a different ip address everytime they logon to aol. or maybe people behind a firewall.
im just trying to find the best way to track each unique user. right now im storing their session.sessionid into a cookie and using that. does that help explain a little?
I don't know where IP addresses come in to play, but using Session.SessionID as a long-term tracking number won't work. Session ID's may be reused for different sessions over time. The ID is only known to be unique during the particular session, a different user initiating a new session hours later may receive a previously used ID
you should always treat Session.Id's as being non-unique.
Whilst over a period of time all session Id's allocated by the server may appear to be unique, I believe that they are never guaranteed to be so (someone feel free to correct me if im wrong please).
If your considering saving a cookie, then why bother with session ID's at all? you may find it easier just to store everything you need to reference serverside in the cookie, for maintaining 'persistence of session' IMO cookies is a much more reliable way of doing things.
well the cookie that im saying the session.id is deleted as soon as they close their browser, or leave the website.
All I need is a way with a unique number track visitors on the site for an active user code i wrote. plus it does some other hidden things, but thats what im looking for. any sugestions?