1

Topic: PunBB logs me out when I request a lot of pages at once

I was screwing around with bookmarklets and decided to try "open all links," which is as follows:

javascript:(function(){var n_to_open,dl,dll,i; function linkIsSafe(u) { if (u.substr(0,7)=='mailto:') return false; if (u.substr(0,11)=='javascript:') return false; return true; } n_to_open = 0; dl = document.links; dll = dl.length; for(i = 0; i < dll; ++i) { if (linkIsSafe(dl[i].href)) ++n_to_open; } if (!n_to_open) alert ('no links'); else { if (confirm('Open ' + n_to_open + ' links in new windows?')) for (i = 0; i < dll; ++i) if (linkIsSafe(dl[i].href)) window.open(dl[i].href); } })();

on the PunBB forum index, http://punbb.org/forums/ (85 links).

The first few pages load fine, but then I suddenly get logged out, and remain that way for all pages loaded thereafter; very noticeable because the color scheme goes back to the default (I've changed it).

Now, I know most users will not try to load 85 pages at once, but does this indicate some sort of deeper bug or unreliableness? I'd be interested in any thoughts on what might cause me to get logged out when doing that.

I tried "open all selected links" with 11 links selected and there was no problem.

2

Re: PunBB logs me out when I request a lot of pages at once

To be fair, I tried this on my phpBB as well (which only has 37 links) and it logged me out too. Is it a PHP/MySQL/Apache issue?

Re: PunBB logs me out when I request a lot of pages at once

maybe its because one of the links on the page is logout

Re: PunBB logs me out when I request a lot of pages at once

lol

i was just going to post that.

~James
FluxBB - Less is more

Re: PunBB logs me out when I request a lot of pages at once

Connorhd wrote:

maybe its because one of the links on the page is logout

big_smile big_smile

Re: PunBB logs me out when I request a lot of pages at once

Haha, great stuff smile

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