| Author: Pradeep Kumar Chaudhary 30 Aug 2008 | Member Level: Gold | Rating: Points: 2 |
All data in a server in uniquely identified is called a Primary key. When a user is logged in successfully then the logged username or ID is stored in the session like: Session["UserName"]="<loggedinusername>" Session["UserId"]="<UserId>" The logged in UserID or UserName will be used to retreive the value corresponding to the data. When the User Login successfully, a session will be created to maintain these things. I think you got your answer, If u have any query then u can post them.
Regards, Pradeep
|
| Author: Barani 30 Aug 2008 | Member Level: Silver | Rating: Points: 2 |
d
|
| Author: MSB 30 Aug 2008 | Member Level: Bronze | Rating: Points: 1 |
Hi....
I found answer for my question...
we need to use Session.IsNewSession
|
| Author: bill 31 Aug 2008 | Member Level: Gold | Rating: Points: 2 |
hi, Session["username"] = TextBox1.Text; Session["pass word"] = TextBox2.Text; the both session can be carried out to all pages . the session time out by default is twenty minutes.you can also set the the time.
|