Topic: Delete cookies

Now and again I have a user with problems logging in and usually deleting cookies on their PC solves the problem.

I've come across this script which I would like to add to my site but I'm not sure if it needs modding to work with my forum cookies. I'm using PunBB 1.1.5

If you are certain you're using the correct username and password, but you are having problems logging in, you might try deleting the cookies for this domain:<br><a href="javascript:d=new Date();var ck = document.cookie.split(';');for(var i in ck) {document.cookie=ck[i].split('=')[0] + '=;EXPIRES=' + d.toUTCString();};location.href=document.URL;">Delete cookies</a>

I've been down so long it's beginning to look like up..

Re: Delete cookies

I really don't know anything about cookies in JavaScript, so I can't say.

"Programming is like sex: one mistake and you have to support it for the rest of your life."