Every now and again I get a user who cannot log in because they have a problem with their forum cookie.
They cannot delete the forum cookie by clicking the 'Log Out' button because they do not see it because in essence they're already logged out.
In addition to this, some people don't know how to delete cookies especially members who use the AOL browser only.
To get around this I have made a new file called 'pop_delete_cookie.asp'
In NotePad or other editor make a file and call it: pop_delete_cookie.asp
In it add the following then save the file in your forum folder >>
<%@ Language=VBScript %>
<%option Explicit
Response.Buffer=True
Dim objCookie
Response.Write "<p><font face=""arial"" size=""3"">Deleting cookies...</font><BR><BR>"
For Each objCookie In Request.Cookies
Response.Cookies(objCookie).Expires = "September 1, 1999"
Next
Response.Write "<p><font face=""arial"" size=""3"">Done.</font>" & vbNewLine & _
" <script language=""javascript1.2"">self.opener.location.reload();</script>" & vbNewLine
Response.Write "<body onLoad=""setTimeout(window.close, 2000)"">" & vbNewLine
%>
In faq.asp find the following line (line 68):
" <li><span class=""spnMessageText""><a href=""#cookies"">Are cookies used?</a></span></li>" & vbNewLine & _
..and replace it with >>
" <li><span class=""spnMessageText""><a href=""#cookies"">Are cookies used & how can I delete them?</a></span></li>" & vbNewLine & _
Find the following lines (347 & 348):
" <p>You may delete all cookies set by these forums in selecting the "logout" button at the top of any page." & vbNewLine & _
" </font></p></td>" & vbNewLine & _
And replace with >>
" <p>You may delete all cookies set by these forums by selecting the "logout" button at the top of any page.</font>" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>Or alternatively by clicking this link: <a href=""javascript:openWindow('pop_delete_cookie.asp?')""" & dWStatus("Delete Cookies set by this Forum") & " tabindex=""-1""><acronym title=""Delete Cookies set by this Forum"">Delete Forum Cookies</acronym></a></font></p></td>" & vbNewline & _
And that's it.
When a user has problem, all you have to do is direct them to the FAQ's and they can delete the forum cookie without going into Internet Explorer properties