COOKIE

Common cookie functions

version 1
package wikindx4\core\session
author Mark Grimshaw

 Methods

COOKIE

__construct() 

remove cookie

deleteCookie() 

Get cookie

grabCookie() : boolean

Returns

booleanTRUE if cookie set

Set a cookie if user requests through mywikindx 'remember me' checkbox

storeCookie(string $username) 

store only username and password so user does not have to go through initial authentication

Parameters

$username

string

 Properties

 

$cookieName 
 

$cookieVars