CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Inspecting Session Variables

Print topic Send  topic

Author Message
bobhuff

Posts: 21
Posted: 09/01/2008, 5:50 PM

Hi,

In classic ASP, I would set some variables to session variable and the redirect to a debug.asp file that contained:

<%@ Language=VBScript %>
<%
on error resume next
for x = 0 to session.Contents.Count
Response.Write "<nobr><pre><b>"
Response.write session.Contents.key(x) & " - </b>"
Response.write session.Contents.item(x) & "</nobr><p><br>"
next
%>

Is there something comparable in C#?

Thanks,
Bob
View profile  Send private message
bobhuff

Posts: 21
Posted: 09/02/2008, 1:07 PM

Found the solution at:
http://www.davidj.org/stories/167/C

Steps:
1. Created a blank page named 'debug'
2. Added the following code cited in the above link tp the debug.aspx.cs page
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.