<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : Cookie issues</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : Cookie issues]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Apr 2026 23:25:00 +0000</pubDate>
  <lastBuildDate>Wed, 21 Mar 2007 13:53:07 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=22913</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[Cookie issues :   While I can&amp;#039;t easily...]]></title>
   <link>https://forums.webwiz.net/cookie-issues_topic22913_post121407.html#121407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=25919">User123</a><br /><strong>Subject:</strong> 22913<br /><strong>Posted:</strong> 21&nbsp;March&nbsp;2007 at 1:53pm<br /><br />While I can't easily post a "mod" to pass on the changes I made (cookies are referenced from many different places), the gist was to create centralized cookie functions:<br><br>functions/functions_cookies.asp<br><table width="99%"><tr><td><pre class="BBcode">&lt;%<br>dim cookiePath<br>cookiePath = left(request.servervariables("URL"),instrrev(request.servervariables("URL"),"/"))<br><br>'COOKIE MOD - rewritten cookie management<br>function getCookie(key)<br>&nbsp;&nbsp;&nbsp; getCookie = Request.Cookies(strCookieName&amp;"_MAIN")(key)<br>end function<br><br>sub setCookie(key,val)<br>&nbsp;&nbsp;&nbsp; Response.Cookies(strCookieName&amp;"_MAIN")(key) = val<br>&nbsp;&nbsp;&nbsp; Response.Cookies(strCookieName&amp;"_MAIN").Path = cookiePath<br>&nbsp;&nbsp;&nbsp; Response.Cookies(strCookieName&amp;"_MAIN").Expires = DateAdd("yyyy", 1, Now())<br>end sub<br><br>sub clearCookie()<br>&nbsp;&nbsp;&nbsp; Response.Cookies(strCookieName&amp;"_MAIN") = ""<br>end sub<br><br>function getUserCookie(key)<br>&nbsp;&nbsp;&nbsp; getUserCookie = Request.Cookies(strCookieName&amp;"_USER")(key)<br>end function<br><br>sub setUserCookie(key,val,keep)<br>&nbsp;&nbsp;&nbsp; Response.Cookies(strCookieName&amp;"_USER")(key) = val<br>&nbsp;&nbsp;&nbsp; Response.Cookies(strCookieName&amp;"_USER").Path = cookiePath<br>&nbsp;&nbsp;&nbsp; if keep then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Response.Cookies(strCookieName&amp;"_USER").Expires = DateAdd("yyyy", 1, Now())<br>&nbsp;&nbsp;&nbsp; end if<br>end sub<br><br>sub clearUserCookie()<br>&nbsp;&nbsp;&nbsp; Response.Cookies(strCookieName&amp;"_USER")=""<br>end sub<br>%&gt;</pre></td></tr></table><br><br>I then changed literally every reference to Request.Cookies and Response.Cookies to call the appropriate function above.&nbsp; This is still fairly quick and dirty but, in my case, it solved the necessary path issue for the forums (which are in a subfolder and were sometimes getting stomped on by the portal software), as well as keeping persistent information in a separate cookie.<br><br>HTH<br><span style="font-size:10px"><br /><br />Edited by User123 - 21&nbsp;March&nbsp;2007 at 2:01pm</span>]]>
   </description>
   <pubDate>Wed, 21 Mar 2007 13:53:07 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/cookie-issues_topic22913_post121407.html#121407</guid>
  </item> 
  <item>
   <title><![CDATA[Cookie issues : Thanks for the suggestion. Alas...]]></title>
   <link>https://forums.webwiz.net/cookie-issues_topic22913_post121406.html#121406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=25919">User123</a><br /><strong>Subject:</strong> 22913<br /><strong>Posted:</strong> 21&nbsp;March&nbsp;2007 at 1:43pm<br /><br />Thanks for the suggestion.&nbsp; Alas it turned out to be combination of factors.&nbsp; I made changes to the way WebWiz handles cookies and now all the users are happy.]]>
   </description>
   <pubDate>Wed, 21 Mar 2007 13:43:26 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/cookie-issues_topic22913_post121406.html#121406</guid>
  </item> 
  <item>
   <title><![CDATA[Cookie issues :  Hi user123, I use FF 1.5 and...]]></title>
   <link>https://forums.webwiz.net/cookie-issues_topic22913_post121368.html#121368</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=25962">mceb</a><br /><strong>Subject:</strong> 22913<br /><strong>Posted:</strong> 20&nbsp;March&nbsp;2007 at 12:04am<br /><br />Hi user123, I use FF 1.5 and just put up a WW forum and noticed similar issue with having to relogin often. &nbsp; I found this post that states it may be sensitive to different locations and logging user out for security. &nbsp;&nbsp; I'm going to try not logging in from work to see if issue goes away.<br><br><a href="http://forums.webwiz.net/forum_posts.asp?TID=22399&amp;KW=timeout" target="_blank">http://forums.webwiz.net/forum_posts.asp?TID=22399&amp;KW=timeout</a><br><span style="font-size:10px"><br /><br />Edited by mceb - 20&nbsp;March&nbsp;2007 at 12:07am</span>]]>
   </description>
   <pubDate>Tue, 20 Mar 2007 00:04:41 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/cookie-issues_topic22913_post121368.html#121368</guid>
  </item> 
  <item>
   <title><![CDATA[Cookie issues : Virtually all of our forum users...]]></title>
   <link>https://forums.webwiz.net/cookie-issues_topic22913_post121310.html#121310</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=25919">User123</a><br /><strong>Subject:</strong> 22913<br /><strong>Posted:</strong> 17&nbsp;March&nbsp;2007 at 12:52am<br /><br />Virtually all of our forum users are complaining of having to log in constantly since the conversion to WebWiz.&nbsp; Several of us have cleared our cookies, tried different browsers and browser versions and, while the behavior is erratic, it seems to happen everywhere.<br><br>I installed a cookie watcher extension in FF2.0 and so far it seems that the "WWF" cookie gets set but often it gets "cleared" (it just disappears sometimes between page loads).&nbsp; After I see it go away in the cookie watcher, if I close the browser and then reload and go back to the forums I have to log in again.<br><br>Any others experiencing similar problems?&nbsp; Any idea on what is causing this and how to resolve it?<br><br>There have been no server side changes to IIS for a long time and persistent cookies worked in the previous forums (Snitz) as well as on many other web sites on the same server.&nbsp; I'm not saying it can't be a server issue, but it's not the first place I'm looking.<br><br>The only anomaly I have found so far (which I don't think has anything to do with the problem) is in "search_results_topics.asp".&nbsp; Around line 420 is the following:<br><table width="99%"><tr><td><pre class="BBcode">'Set the booleon variable if this is a new post since the users last visit and has not been read<br>If (CDate(dtmLastVisitDate) &lt; dtmLastEntryDate) AND (Request.Cookies("RT")("TID" &amp; lngTopicID) = "") Then blnNewPost = True Else blnNewPost = False<br></pre></td></tr></table><br>I can find nowhere that this cookie is referenced and it looks odd since every other cookie set/retrieve uses "strCookieName" in place of the "RT".&nbsp; By default strCookieName = "WWF".<br><br>Any help is appreciated as it's driving us nuts <img src="https://forums.webwiz.net/smileys/smiley1.gif" border="0" align="absmiddle" alt="Smile" /><br><br>---------------------------------<br>EZ-Frag&#091;QODA&#093;<br>http://www.qoda.net/<br>]]>
   </description>
   <pubDate>Sat, 17 Mar 2007 00:52:19 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/cookie-issues_topic22913_post121310.html#121310</guid>
  </item> 
 </channel>
</rss>