Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I need to view variables or trace I am having problems debugging over a server

 

I need to look at the following:

 

Response.Write(Session("ssUserName"))

Response.Write(Session("ssUserAuthority"))

Response.Write(Session("ssUserBU"))

Response.Write(Session("ssNtUser"))

ch = getch() pause here I am not sure how to do this in vb.net.

also should I use Response.Write to trace my variables?

 

Any help would be appreciated.

 

Thanks.

  • Administrators
Posted

Web server code runs on the web server not on the client, as such you cannot pause it on the server and wait for a key press in a browser before continuing.

If you want to output information you could either use the normal debug.writeline or you may want to consider looking at the Trace object.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...