Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Session vs Viewstate

$
0
0

hello everyone

I know that session variables are accessible from whole solution, and Viewstate variables are accessible from single page (the page where it was declared)

and now, I can't understand when do I need to use Viewstate variables. which is different in using

int _userName; and Viewstate["userName"].

How can I find out which one to use.

Thanks in advance


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>