Print all session/post/get variables in ASP.NET page -
i new asp.net, i'm quite used php (which unfortunately not use @ work) i'd print session variables. in php it's quite easy, use:
echo '<pre>' . print_r($_session, true) . '</pre>';
for this, there as-easy asp.net equivalent?
with box being label.
foreach (string in session.contents) { if (session[i] != null) { box.text += + " = " + session[i].tostring() + "\n"; } }
Comments
Post a Comment