<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-size: 14px; "><div>Is there a problem with httpvariables setting cookies, or is it me?</div><div><br></div>I'm trying to use httpvariables to set cookies for use as parameter values, so the user can change any parameter independently of the others. For some reason, httpvariables doesn't seem to be setting the cookies. Refreshing the page doesn't help.</span><div><div style="font-size: 14px; "><br></div><div style="font-size: 14px; ">Is there a way to make this work? Or another technique for this functionality? I'm trying to avoid using forms, for simplicity and ease of use.</div><div><br></div><div><b>Here's my test code:</b></div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; "><b>WikiSandbox has this markup:</b></span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><b><br></b></span></font></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">[[Site.SetFormat?caller={*$FullName}?fmt=title |set fmt to title]]</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">Cookie value: {$@fmt}
</span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><b>Site.SetFormat has this markup:</b></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;">(:cookie fmt {$?fmt} expires="+24 month":)
(:redirect {$?caller} quiet=1:)</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;">When I click on the link, shouldn't the cookie value "title" appear on the page? Certainly after a page refresh, right? Well it doesn't for me.</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;">Randy</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;">P.S. I'm using pmwiki-2.2.5 on my own computer under MAMP, OSX Leopard. I've tried both Firefox and Safari. My configuration includes these recipes: powertools, creole, wsplus, and httpvariables.</span></font></div></div></body></html>