Ansh Takalkar

Ansh Takalkar

  • 1.4k
  • 262
  • 4.2k

Store object after login

Jul 18 2016 1:03 AM
Hi ,
 
I have created login form in MVC 4 it is using form authentication. Code working fine.

I have one object of class User in which I have 5 properties. I need all values in all over my application. I want to store them all.
 
Can I do it using ASP .Net session object? Can form authentication ticket  also do it and how? Also how can I retrieve values from ticket (if I can store in it)? 

Thanks in advance

Answers (4)