PHP Bulletin Board Home
News About Home
Features of phpBB Test drive phpBB Downloads Support for phpBB The phpBB Community Styles for customising phpBB 3rd party modifications to phpBB

Support Home | Knowledge Base Home | Submit Article | Search Articles | Browse Articles
 Manual Cookie Settings Fix 
Description: This is a manual alternative to the Auto Cookies MOD by geocator
Author: Marshalrusty
Date: Fri Aug 19, 2005 9:21 pm
Type: Fix
Keywords: Cookie, Cookies, Fix
Category: Administrating
This article will explain how to correctly configure the cookie settings in the Administration Panel>Configuration

These are some "symptoms" of incorrect cookie settings:
1) When you login, you get a blank page, but if you click back, you are logged in
2) You have to login more than once for it to work
3) You get a blank screen when trying to access the Admin Panel


If you can do it from the Administration Panel, great! If you cannot get into the Administration Panel, use the Admin Toolkit

I will use the following two scenarios:

Your forum is located at http://www.yoursite.com/stuff/forum/
Your settings should be:


Cookie Domain: .yoursite.com (Notice that /stuff/forum/ is not included. Also notice the dot in front)
Cookie Name: my_site_cookie (This can be anything. No spaces. Make it original)
Cookie Path: /stuff/forum (This is the script path without the "/" at the end)
Cookie Secure: Disabled (This should remain disabled)
Session Length (seconds): 3600 (This can be different, but an hour (3600 seconds) is a good number)



Let's do one more, this one is using a subdomain:

Your forum is located at http://forum.coolforums.net/forum/
Your settings should be:


Cookie Domain: forum.coolforums.net (Since this is a subdomain, there is no dot in front)
Cookie Name: coolcookie (This can be anything. No spaces. Make it original)
Cookie Path: /forum (This is the script path without the "/" at the end)
Cookie Secure: Disabled (This should remain disabled)
Session Length (seconds): 3600 (This can be different, but an hour is a good number)


Fixed Admin Toolkit Link - ScionCrow [24/8/05]

Username: Password:
News | Features | Demo | Downloads | Support | Community | Styles | Mods | Links | Merchandise | About | Home
 © Copyright 2002 The phpBB Group.