phpbb cookies and autologin improved

Software and hardware

phpbb cookies and autologin improved

Postby dyn » Tue Apr 05, 2011 05:20 UTC

Thanks Kimmy for bringing this to my attention! :)

Auto-login should be more persistent now, also forum is not trying to validate browsers info string which means more compatibility with IE7 and browsers using all sorts of toolbars and other useless crap. Cookie name also changed, so you need to login again. If you want you can delete old cookies for vogonhq.com domain, to keep things clean.

Tech info for webmasters: PHP 5.3 adds more security and restricts passing of cookies via $_REQUEST variable.
http://php.net/manual/en/ini.core.php#ini.request-order
If you wish to change default behavior, find request_order = "GP" and replace it with request_order = "GPC" (C = cookies) inside php.ini and then restart your web server.
In case request_order is not set, variables_order will be used, which is usually set to GPCS by default.
User avatar
dyn
Site Admin
 
Posts: 4009
Joined: Mon Apr 14, 2008 07:50 UTC
Favorite map: q3dm8
Server: FFA
Website: https://vogonhq.com

Re: phpbb cookies and autologin improved

Postby dyn » Tue Apr 05, 2011 05:27 UTC

Also thanks to AG.
User avatar
dyn
Site Admin
 
Posts: 4009
Joined: Mon Apr 14, 2008 07:50 UTC
Favorite map: q3dm8
Server: FFA
Website: https://vogonhq.com

Re: phpbb cookies and autologin improved

Postby QueenKimmy » Tue Apr 05, 2011 18:05 UTC

all good now, ty!!
User avatar
QueenKimmy
Former Admin
 
Posts: 278
Joined: Fri Aug 22, 2008 03:36 UTC
Location: nj
Favorite map: Q3ProDM3
Server: FFA

Re: phpbb cookies and autologin improved

Postby AG » Tue Apr 05, 2011 19:09 UTC

thanks
User avatar
AG
Former Admin
 
Posts: 2366
Joined: Mon Apr 14, 2008 18:25 UTC
Location: Texas
Favorite map: q3dm17
Server: INSTAKILL
Website: http://vogonhq.com


Return to Tech stuff

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests