Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES

GLM.DOM.Cookie.setPath( p )

GLM.DOM.Cookie.setPath( p )

Method for setting the cookie path.

Parameters:

p - The cookie path.

Example:

var cookie = new GLM.DOM.Cookie("mycookie");
cookie.setValue("firstvalue","hello world"); //set firstvalue name to "hello world"
cookie.setPath("/"); //sets the path to root



Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES