asp.net mvc - C# property lifetime on successive http calls -
i have c# property on server side , setting on http request. property value persist request? sorry if silly one?
in general, no. persist if it's property of stored in session variables (for example in controller's tempdata
or in application session data), or if have other custom mechanism preserves value across requests.
refer state management recommendations page on msdn overview of options.
Comments
Post a Comment