IRequiresSessionState - how do I use it?

Posted by Praesagus on Stack Overflow See other posts from Stack Overflow or by Praesagus
Published on 2009-09-03T19:59:13Z Indexed on 2010/03/22 15:31 UTC
Read the original article Hit count: 305

Filed under:
|
|

I need to be able to change when I can see session state. I found out about the IRequiresSessionState Marker Interface, but have not been able to figure out how to use it. I think I may be missing something obvious. Can one of you C# guru's give me a quick 1-2-3 step through? (e.g. 1 create a new class, 2. put public interface IRequiresSessionState in it. 3. Use IRequiresSessionState('abra_cadabra') to change the value.).

Thank you for your help.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET