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

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -