4
Answers

About Session or Cookies

Photo of Guest User

Guest User

5y
968
1
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)