Cyclone3 Skin

Setting cookies

From Cyclone3 Wiki

There are two type of cookies. One type are Cyclone3 cookies saved by standard way in browser, but are separated logicaly by cookies setup from other scripts at same domain (google analytics, etc...). The other type of cookies are ALL standard cookies setup for this domain (including google analytics, etc...)

Cyclone3 cookies are managed by Cyclone3 user management, saved and loaded when user registered, login or logout. Standard cookies are managed ONLY by browser. When you want set several variables to user in user management use session instead of cookies.

Access cookies

%main::COOKIES

Set cookies

$main::COOKIES{'variable'}="value";

Access standard cookies

%main::COOKIES_all

Set standard cookies

$main::COOKIES_all{'variable'}="value";