<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Nikos,</div><div><br></div><div>Hello i having the following code to try and retrieve the visitor's<br><blockquote type="cite"><blockquote type="cite">saved cookie form the browser.<br><br>[CODE]<br># initialize cookie and retrieve cookie from clients browser try:<br>     cookie = cookies.SimpleCookie( os.environ['HTTP_COOKIE'] )<br>     cookieID = cookie['name'].value<br>except:<br>     cookieID = 'visitor'<br></blockquote></blockquote><br></div><div><b>As it has been said before</b>, change the except to be an explicit error check.  </div><div>The all purpose except is hiding an error condition from you.</div><div><br></div><div>Take a look at this:</div><div><br></div><div><a href="http://www.jayconrod.com/posts/17/how-to-use-http-cookies-in-python">http://www.jayconrod.com/posts/17/how-to-use-http-cookies-in-python</a></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>- Benjamin</div><div><br></div><br></body></html>