asp.net - How to Create Session in asp .net C# login and registration memberprofile page -


i new asp .net c# created registration,login , member profile page

after validations data stored in database.. , login page working fine...

i dont know sessions ..how can create session , how make login module more effective using sessions?

thanks in advance

  1. session per user basis.
  2. you can store session in sqlserver reduce load on server

you can create session

session["yourkey"]=somevalue;  

to read value

if(session["yourkey"]!=null) {   //use session values.  }  

you can use forms authentication better approach login . forms authentication


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -