F.A.Q. - Read it first! - How to set cookies?
Matteo - 07-09-2010, 22:47
Temat postu: How to set cookies?
Malfunction of the forum, various errors in particular trouble logging in and the styles are very often effect of setting cookies in the forum.
To get everything ok, must match three parameters:
- Domain Name (first field in configuration)
- Cookie Domain (in configuration of Cookies)
- Webpage adress which we have
If you connect (and users) on adress: http://www.przemo.org that domain name in settings and domain of cookie must been przemo.org without http:// !!! And without any / or ~/ after the domain name!
If you connect (and users) on adress: http://www.przemo.org that domain name in settings and domain of cookie must been www.przemo.org without http:// !!! And without any / or ~/ after the domain name!
From experience I know that setting a domain without www. gives better results, so if this is not the problem, try to avoid www.
If we have forum in directory ex. http://www.przemo.org/forum it doesn't matter, domain name and domain of cookies are still www.przemo.org
Cookie secure [ https ] this is enabled in standard, but can happen that server doesn't support it and login is still don't work. Then we have to disable it.
Automatic set cookies
To forum is added DumpLoader script. In addition to uploading a database dump can be used for automatic configuration of cookies. To do this, go to the script: http://www.forumadress.com/dbloader/dbloader.php and go to Configure forum then click on Save.