I am learning asp. In php we use
die('error message')
what is its equivalent code in asp (vb script)? How to debug in asp?
In classic ASP use this:
Response.End
To output something before exiting, use this code:
Response.Write "Hello, World!" Response.End
This is equivalent to:
die("Hello, World!");
I don't remember very much about asp.net, but you can use
return the variable here
or
The second output will output all