The Cookie Law (in the UK at least)

MultiformeIngegno

  • Posts: 1,337
Re: The Cookie Law (in the UK at least)
« Reply #255, on March 31st, 2013, 06:48 PM »
Quote from Arantor on March 31st, 2013, 06:43 PM
"is PHPSESSID now only used for guests"

When the point of the suggestion was to NOT use it at all for guests.
No. I noticed that when I'm logged in links are without PHPSESSID. When I'm a guest links are with it. So I assumed it was like that...

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: The Cookie Law (in the UK at least)
« Reply #256, on March 31st, 2013, 06:53 PM »
No... You're only seeing part of the picture and assuming that's how it works the rest of the time :/

PHPSESSID - for logged in members is set up by PHP. We have no control of that at the Wedge level, not for the want of trying, though.

PHPSESSID - for guests is set up all the time, again by PHP... but it is only injected into links if cookies were not found, which should only be the first page load. PHP itself doesn't do the injection part (because we tell it not to) but we manually handle the process at this time, so instead of it being every page without fail, it is only when cookies are not present. Links will be without PHPSESSID if you view more than one page as a guest and cookies are enabled.

There are two parts to my suggestion:

1, disable the injection. This would give us a minor performance boost, a minor bandwidth saving but makes stats less accurate.

2. disable session handling *entirely* for guests. This would give us a major performance boot, no additional bandwidth saving over the first one, and the number of guests becomes unavailable. But no number is probably more meaningful than a very-inaccurate number.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

MultiformeIngegno

  • Posts: 1,337
Re: The Cookie Law (in the UK at least)
« Reply #257, on March 31st, 2013, 07:09 PM »
Clear, thanks! :)
Is disabling session handling for guests a major change? Because if it's not and it's easily restorable with a plugin we could solve the problem of users complaining they can't see how many guestz are l00king at their 4rum redirecting them to the plugin.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: The Cookie Law (in the UK at least)
« Reply #258, on March 31st, 2013, 08:28 PM »
Quote
Is disabling session handling for guests a major change?
-sigh- Yes. Like I've explained multiple times in this topic. And it's not easily restorable with a plugin, like I said in this topic.