Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES

GLM.DOM.Cookie.setValue( name, value )

GLM.DOM.Cookie.setValue( name, value )

Method for setting a cookie name value pair.

Parameters:

name - The name of the cookie value to set.

value - The value of the cookie value to set.

Example:

var cookie = new GLM.DOM.Cookie("mycookie");
cookie.setValue("firstvalue","hello world"); //set firstvalue name to "hello world"
var firstvalue = cookie.getValue("firstvalue"); //retrieve firstvalue.
cookie.removeCookie(); //remove the cookie from the client machine.



Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES