Cissi Posted March 22, 2007 Share Posted March 22, 2007 I want to save links to a cookie. So far I can save one link by: var value=document.getElementById("link1").href; document.cookie=cookiename + "=" + escape(value); If I want to save several links, do I have to create one cookie per link or can I save them all in the same cookie? If I can use only one cookie, how do I read the values from it? Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/43849-writing-multiple-values-to-a-cookie/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.