PostNuke Help

Previous
pnGetBaseURL

Home
up

Next
pnInit


pnGetStatusMsg

obtain status message

Synopsis

string pnGetStatusMsg();

Description

pnGetStatusMsg() obtains the last status message posted for this session. The status message exists in one of two session variables: 'statusmsg' for a status message, or 'errormsg' for an error message. If both a status and an error message exists then the error message is returned.

Return Values

This function returns the value of the last status message posted, or void if no status message exists.

Notes

pnGetStatusMsg() is a destructive function - it deletes the two session variables 'statusmsg' and 'erorrmsg' during its operation.

See Also

pnSessionSetVar()


Previous
pnGetBaseURL

Home
up

Next
pnInit