tag:blogger.com,1999:blog-34454975.post1563374325749607015..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: Two Step Backward: Read Cookies!Andrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-34454975.post-21978363467367664562010-04-07T11:03:59.383+02:002010-04-07T11:03:59.383+02:00Hi Andrea,
to make your get cookie works I need to...Hi Andrea,<br />to make your get cookie works I need to modify you regexp in this way:<br /><br />"(?:^|;\\s*)" + name + "=([^;]*?)<i>(?:\\s*(?:$|;))</i>"<br /><br />Because ([^;]*?) trays to match nothing...<br /><br />I don't know why, but I've also to remove the g modifier...Oopshttps://www.blogger.com/profile/17600901862664625889noreply@blogger.com