I know REST should be stateless.
My Web Api is at the same project of my MVC Website. How can I share the session between them?
I'm trying to use the goodies of Web Api 2 and work with Ajax rather than build a RESTful API.
I know REST should be stateless.
My Web Api is at the same project of my MVC Website. How can I share the session between them?
I'm trying to use the goodies of Web Api 2 and work with Ajax rather than build a RESTful API.
stolen from this question
in global.asax add the following: