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

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

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -