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.

Était-ce utile?

La 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.

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top