Home Reference Source
public class | source

cookieHandler

Created by Martin on 5/4/2017.

Static Method Summary

Static Public Methods
public static

Retrive cookie given the

public static

setCookie(name,: String, value,: Object, days,: int)

Set cookie given the

Static Public Methods

public static getCookie(name,: String): string source

Retrive cookie given the

Params:

NameTypeAttributeDescription
name, String

cookie name

Return:

string

public static setCookie(name,: String, value,: Object, days,: int) source

Set cookie given the

Params:

NameTypeAttributeDescription
name, String

cookie identifier

value, Object

value of the cookie

days, int

expiration time