Guest User

Guest User

  • Tech Writer
  • 515
  • 46.4k

About Session or Cookies

Oct 12 2019 6:02 AM
I am using Session to store Id and Other fields (such as: UserId, Phone, Email) after Login and Signup.
But the session gets expired after some time. So anyway I can keep the session alive. I tried some online solutions but didn't work
 
Also, tried  Cookie, but do I need to create Cookie for every field (such as UserId, Phone, Email) and then retrieve it on all pages?
 
I am using MVC OrmLite.
 
Thank you in advance. 

Answers (4)