Sign in | Join
Last post 07-03-2009 5:42 AM by amitverma.xl. 2 replies.
Sort Posts: Oldest to newest Newest to oldest
Hello there,I want to maintain the object, say objUser's state across page postbacks.
Is there any other way apart from using ViewState or Session object?
Thank you!
According to this article, there are nine ways:
http://msdn.microsoft.com/en-us/magazine/cc300437.aspx
Hi,
For maintain the object state across page postbacks, You can use the static variable but there is one problem with static variable that they are same for all session state so the better way is to use the ViewState or Session object.