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)?
- Create a new class,
- Put
public interface IRequiresSessionState
in it.
- Use
IRequiresSessionState('abra_cadabra')
to change the value.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…