Last post Mar 12, 2013 05:37 AM by prabu.raveendran
Mar 12, 2013 05:29 AM|satyajeet|LINK
i am using asp.net web api.
i am not able to access session data from my rest service.
is there a way to achieve this...??
Mar 12, 2013 05:32 AM|DarrellNorton|LINK
It's not recommended to add session state to WebAPI, but here is how to do it:
Mar 12, 2013 05:37 AM|satyajeet|LINK
thanks for the prompt reply darrell..
Just to try i created a class and a function in that class which returns session data as string.
But when i tried to call it from userController same null exception came.
Not recommended means is there any security issue with it?
Mar 12, 2013 05:37 AM|prabu.raveendran|LINK
Refer the below links,