Reputation: 41
How can we access the Session variable in a Sharepoint 2010 sandboxed solution?
Upvotes: 1
Views: 608
Reputation: 1317
Unfortunately the Session variable is apparently one of the things that is specifically unavailable in the sandbox.
If you really need access to it then you should consider using an non-sandbox solution, the pros and cons of which are discussed here: Sandbox solutions seem to be too severely crippled
Upvotes: 1