How can I save variables in asp.net between postback? I\'m using HttpContext.Current.Items but it always disposes after postback is there any other option to do that?
If your variable is not serializable or you do not want the client to be able to read its value => use inProc Session
If your variable is serializable and you do not want the client to be able to read its value => use database Session
if your variable is serializable, and you can live with the client reading its value, and it should only live during the postbacks sequence in the scope of the page => you should use ViewState.