• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cookies using javascript

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using the following code in java script (document.kookie = 'kookiename=kookievalue' . Is it possible to define the life time of the cookies in javascript like we do while using cookie object in jsp/servlets

thnx in advance

N Chaurasia
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A simple search on Google would answer this qustion. I would bet if you searched Google for JavaScript cookies, this link would show up.

http://www.quirksmode.org/js/cookies.html


Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic