Home How to get Session Value in C#
Reply: 0

How to get Session Value in C#

Ginger Squirrel
1#
Ginger Squirrel Published in 2018-01-10 13:13:40Z

I have a session set in my browser and I would like to retrieve the value of it:

I have tried:

@HttpContext.Current.Session["nolangask"].ToString()

and

@Session["nolangask"].ToString()

And a few other combinations that visual studio just outright rejected before I tried to run them. I feel I am probably missing something very basic...

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.244724 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO