PDA

View Full Version : Simple Tree Menu cookie lifetime



rkz
05-02-2008, 05:48 PM
http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

I need to change cookie life time until the browser is closed, I don need to disable persistence.
Default value is 1 day. Its setting up in js file, dont know how to change it.

ddadmin
05-03-2008, 01:27 AM
You can change it to session only by editing the below line inside the .js file, specifically, removing the part in red:


document.cookie = name+"="+value+"; expires="+expireDate.toGMTString()+"; path=/";