Question

I would like to know what kind of object is returned in Classic ASP by the function Server.GetLastError.

If this were a .net or JavaScript function, I would simply attach a debugger and see what is returned, but I don't have any tools to do that with Classic ASP code in the environment I work in.

Was it helpful?

Solution

From MSDN:

The GetLastError method returns an ASPError Object describing the error condition that occurred. This method is available only before the .asp file has sent any content to the client.

OTHER TIPS

Server.GetLastError returns the last ASPError object, representing the last ASP error that has occured on the server. You can see the definition of the object in the MSDN link.

In general, you can still lookup ASP and VBScript objects and syntax on MSDN.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top