Retrieves a parameter passed to the current page.
PSDocumentClass object
psDocument.GetParam( argvar )
Argument |
Description |
---|---|
argvar |
The name of a parameter passed to the current page |
String. Returns the value of the specified parameter.
At runtime, GetParam has the following behavior:
Application server |
Runtime behavior |
---|---|
ASP |
Accesses either the QueryString or the Form collection of the Request object:
|
JSP |
Calls the getParameter method on the request object. |
The following example retrieves the value of the “EmpID” parameter:
empid = psDocument.GetParam("EmpID");