Patrick Patrick - 1 year ago 127
ASP.NET (C#) Question mvc 3 serverside session variable

I need a serverside session variable in MVC 3. I know it is not the best way to fix things, but we need it security wise. I need to be sure that there is a value that is not tampered with. Is there any way to set a serverside session variable that can not be deleted or changed on the client?

Answer Source

You could use HttpContext.Current.Session.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download