AriCode Posted March 20, 2015 Posted March 20, 2015 Hiya,I have had members messaging me constantly over the past week that they cannot stay signed in to the board. I am running 3.4.7. Most people get kicked out immediately with Chrome, lesser so with Firefox. I don't believe it is a cookie problem.my actual site is a blog, with my forums being a subdomain (for example my site is "mysite.com/forum/"".mysite.com/" is my cookie domain"-forum-" is my cookie pathDo I have this set up right? I also have .htaccess enabled. I really want to figure out this problem...
The Jimmo Posted March 20, 2015 Posted March 20, 2015 If you are not using an actual sub-domain, e.g. forum.mysite.com than your cookie path can remain empty as it should be on your whole domain. Are you running IPS software for the blog or another provider?Can check your cookie domain by going to the ACP and System Settings > System > Server Environment > Cookie domain. Again unless you are using a sub-domain or separate software for your blog there is no need to fill this in as your domain is fine.
AriCode Posted March 20, 2015 Author Posted March 20, 2015 I am using a subdomain for my forums.For example, my blog is "site.com" and my forum is "site.com/forum/". My blog is wordpress.I am just a little lost as to what is needed for my cookie domain, cookie path, and cookie blog domain.Right now I haveCookie domain: .mysite.comCookie path: -forum-Blog Cookie domain: .mysite.comDo I have this wrong?
The Jimmo Posted March 20, 2015 Posted March 20, 2015 site.com/forum is not a sub-domain. site.com/forum is a directory, forum.domain.com would be a sub-domain so in that case you would want to leave cookie domain empty to use default.
TSP Posted March 20, 2015 Posted March 20, 2015 I would avoid using the cookie path-setting. The last time I looked into it, I believe I found it to be a bit unreliable and if you have a cookie prefix already, then it doesn't provide that much value.I've found setting the cookie domain to be ".mysite.com" (the dot in the front is very important) to be more reliable than leaving it blank.
AriCode Posted March 20, 2015 Author Posted March 20, 2015 So should I then leave the cookie domain to ".mysite.com/forum" and leave the cookie path clear? and should i also leave the blog cookie domain clear?
TSP Posted March 20, 2015 Posted March 20, 2015 No. Cookie domain is only supposed to a domain. /forum is not part of your domain. If you want to define the cookie path, then it should be "/forum"
Hexsplosions Posted March 20, 2015 Posted March 20, 2015 @Ari Zeto_60289 Here's mine: It works flawlessly without even touching those fields. If in doubt, leave them alone.
AriCode Posted March 21, 2015 Author Posted March 21, 2015 Thank you. I left the fields clear and it works.
Woodsman Posted March 21, 2015 Posted March 21, 2015 Hiya,I have had members messaging me constantly over the past week that they cannot stay signed in to the board. I am running 3.4.7. Most people get kicked out immediately with Chrome, lesser so with Firefox. I don't believe it is a cookie problem.my actual site is a blog, with my forums being a subdomain (for example my site is "mysite.com/forum/"Do I have this set up right? I also have .htaccess enabled. I really want to figure out this problem...What has you screwed up is the ending "/" in your cookie domain.... It should be written as ".mysite.com" without the quotation marks. Your cookie path should be written as "-forum-"again without the quotation marks.If you are running this on a server with another install you should use this. If it is a standalone forum site then its not really needed and you can leave blank... The only real reason is to distinguish forum sites from each other. Example: a live 3.4.7 board and a 4.0 RC test board on the same domain.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.