I am new to ASP .net C# i created registration,login and member profile page
after all validations data is stored in database.. and login page also working fine...
i dont know about sessions ..how can i create session and how to make login module more effective using sessions?
thanks in advance
you can create Session like this
Session["yourKey"]=someValue;
to read this value
if(Session["yourKey"]!=null)
{
//use the Session values.
}
you can use Forms Authentication for Better Approach for login . Forms Authentication
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With