Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OWIN and HttpContext.Current.Session [closed]

It seems that OWIN is not relying anymore on old ASP.NET plumbing, so Session based values can't be set anymore

Still, I didn't find a simple way to uniquely identify anomymous users per browser session in OWIN itself (like SessionId was helping me to do).

Any ideas? :)

like image 780
Benjamin Soulier Avatar asked May 23 '26 05:05

Benjamin Soulier


1 Answers

Ok I jumped to conclusions.

I just forgot that in order to have a Session for a given browser, you just need to set at least one value in the user Session :)

Cheers, Ben

like image 112
Benjamin Soulier Avatar answered May 25 '26 19:05

Benjamin Soulier



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!