c# - How to save value in session in .net -



c# - How to save value in session in .net -

i trying save value in session in webservice gives me error: object reference not set instance of object.

session["processstarttime"] = strdate;

add (enablesession = true) webmethod

[webmethod (enablesession = true)]

or read nice article on how utilize session state in web service

c# web-services

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -