Is there a way to prevent an ASP.Net webapp from clearing out page variables on VB side?

Posted by Chapso on Stack Overflow See other posts from Stack Overflow or by Chapso
Published on 2010-06-17T16:47:07Z Indexed on 2010/06/17 16:53 UTC
Read the original article Hit count: 238

Filed under:
|
|
|

I have a webapp in ASP.Net with a VB codebehind. I need a List variable I have declared to persist as long as the person is on the page, but currently any time a control posts back to the code, everything is cleared out. I am completely new to ASP.net, so I have no idea if this is even possible. Can it be done with a Session variable? Those seem to me to be limited to base types, but I could be wrong.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about vb.net