How can i create a cookie by using javascript just for end of the browser session(ie,upto closing of current browser).My script is like follows;
function set
Setting c_expiredays to 0 (without quotes) should do the trick.
c_expiredays
0
If you dont set any expire time, the cookie will be deleted upon closing of the browser:
setCookie('gs_cookie','firstme');