Concept Framework 1.0 documentation Contents | Index

CApplication.SetCookie

Name Type Access Version Deprecated
SetCookie function static version 1.0 no

Prototype:
void SetCookie(string user, string data="")

Parameters:
user      the user name or key associated with the cookie. The user name must not contain characters that are invalid in a filename.
data      the data to set in the cookie (for example a serialized object)

Description:
Set a cookie on the client side containing the given data. A cookie is accesible ONLY from the same host and for the same user/key. If data is empty, the cookie is deleted.

Returns:
Null.

Documented by Eduard Suica, generation time: Thu Oct 15 20:02:00 2009 GMT(c)2009 RadGs Software