Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications

> ## getAttribute

> This procedure accepts the name of a supported attribute (for example, `Type`, `Version`, `Web-State`, `Web-Timeout`, `Web-Timeout-Handler`, or `Web-Time-Remaining`) and returns its value as a character string (in `RETURN-VALUE`).

> Location: `web2\admweb.p`

> Parameters:

> `INPUT p_attr-name AS CHARACTER`

> Name of the attribute.

> Returns: CHARACTER

> Notes: In addition to the attributes named above, other names can be used provided the `special-get-attribute` procedure exists in the target procedure to handle them.

> Examples:

>     \* Show the Type and Web.State of this procedure. *\
>     RUN getAttribute IN THIS-PROCEDURE ('Type':U).
>     {&OUT} '<BR>Type = ' RETURN-VALUE.
>     RUN getAttribute IN THIS-PROCEDURE ('Web-State':U).
>     {&OUT} '<BR>Web-State = ' RETURN-VALUE.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095