[RESOLVED] SessionID question
Hello Everybody,
I have an ASP.NET page that has a wizard control. I need to see if the same user is working on the page so I first time I insert a record and next time I update database records. I am using Session.SessionID to check if the same user is working on the page, but on every postback, SessionID gives a unique string and always the "insert" construct executes.
What is the best way to check the same user is working back and forth on the same page. User is not logged in, its an open form on the page.
Thanks.
Re: [RESOLVED] SessionID question
no, you misunderstand me
primary key is Unique,
what if your sessionID inserted into the database as a primary key, and after a month someone else used the page, and he has a new SeesionID, can we grantee this new SessionID not used before ???
Re: [RESOLVED] SessionID question
Quote:
Originally Posted by
avrail
no, you misunderstand me
primary key is Unique,
what if your sessionID inserted into the database as a primary key, and after a month someone else used the page, and he has a new SeesionID, can we grantee this new SessionID not used before ???
Actually in my case, I just need to save the data, perform very little calculation, email the result and the data is then useless and will never be fetched. This is why I don't care if SessionID is repeated, since I am comparing SessionID plus Today's date.
Thanks.
Re: [RESOLVED] SessionID question
that's good for you :)
but i still care, is it a sessionId unique for ever or for some reason it will be repeated ?
i love this Q :D
any way it is not a big deal
Re: [RESOLVED] SessionID question
If I had to guess, I would say that this is something to do with the use of the ASP.Net Development Server. I would be curious to know if this happened on a web application under IIS.