katz11 Posted November 13, 2006 Share Posted November 13, 2006 In a post i previously participated (locked now) a person from IPS said that i might be using incorrect cookie settings.So what do i put in there?I am using a Windows 2003 server, my root is C:\Inetpub\wwwroot\domain.comWhat i currently have is - Cookie Domain - .myforum.comCookie Name Prefix - BlankCookie Path - BlankStronghold Cookie - NoAny help is appreciated.Mike. Link to comment Share on other sites More sharing options...
Mesmer Posted November 13, 2006 Share Posted November 13, 2006 I havecookie domain: .myboard.orgcookie prefix: forumcookie path: / Link to comment Share on other sites More sharing options...
Mark Posted November 13, 2006 Share Posted November 13, 2006 Cookie Domain - just your domainCookie Name Prefix - stick something in there, anything will doCookie Path - / or /forums/ or whatever it is from your domain to the forumsFor example these forums will be:Domain: forums.invisionpower.compath: /IPSBeyond will have:Domain: ipsbeyond.compath: /forums/The prefixes might be "ips" or "forums" - If you open you'll cookie folder you could find out Link to comment Share on other sites More sharing options...
katz11 Posted November 14, 2006 Share Posted November 14, 2006 Thanks, i will try it. Link to comment Share on other sites More sharing options...
TestingSomething Posted November 14, 2006 Share Posted November 14, 2006 As said in my topic on cookies, bfarber says do not fill in path. Link to comment Share on other sites More sharing options...
Logan Posted November 15, 2006 Share Posted November 15, 2006 I thought if it's in a directory outside the root directory, the path should be filled in? In addition to the domain. Link to comment Share on other sites More sharing options...
Sunlite Posted November 15, 2006 Share Posted November 15, 2006 just have .mydomain.com and it's fine Link to comment Share on other sites More sharing options...
TestingSomething Posted November 15, 2006 Share Posted November 15, 2006 I am actually using multi quote for one of the very first times ever. lolI thought if it's in a directory outside the root directory, the path should be filled in? In addition to the domain.well I am just going by what Brandon said. It could be that it applied aminly to sites with the forum in the root directory though. But since he said that may confine them to that directory, I would think it would still mess some things up perhaps?just have .mydomain.com and it's fineIf you do that, it has that long string of numbers in the url sometimes and apparently isn't totally correct in handling the cookies. But I never really noticed a "problem" from only filling in the first one. Link to comment Share on other sites More sharing options...
bfarber Posted November 15, 2006 Share Posted November 15, 2006 I would only use the path if you have forums in a subdirectory, don't have subdomains setup for the forums, and don't want your cookies available to the root (or other sub) directory/directories.i.e. if you havesite.comsite.com/forums (<-- where the forums are)site.com/otherfolderand don't want the cookies available to site.com or site.com/otherfolder, and you do not have a subdomain setup for /forums (i.e. forums.site.com) THEN you may wish to use the path. Otherwise, there's no point and 9/10 times users put in a value that is not what the cookie functions are expecting or can use. Link to comment Share on other sites More sharing options...
TestingSomething Posted November 17, 2006 Share Posted November 17, 2006 This is VERY annoying. Something is definitely wrong with the whole cookie setup fdor 2.2. I have the correct settings, same as Brandon said to use, have stronghold cookies turned off, and now both of my sites just had me logged out, which I would assume means it is because of my IP addy changing, since both did it at the same time. So apparently it is still using some IP check. Link to comment Share on other sites More sharing options...
bfarber Posted November 17, 2006 Share Posted November 17, 2006 Do you mean the setting "match ip address" in security settings? If so, then yes, your IP would be matched... Link to comment Share on other sites More sharing options...
TestingSomething Posted November 18, 2006 Share Posted November 18, 2006 That setting says only put to no if many people would be having the same IP address! My IP address changes, and then I am suddenly logged out when it does. That is NOT the same thing as many people using my IP address. So either it isn't worded well or else it would have nothing to do with me being logged out. Since it looks at the session IP, would that mean, if I start a session, then my IP changes BEFORE the session ends, then it will log me out? ALl I know is I sure wasn't logged out in 2.1. Link to comment Share on other sites More sharing options...
bfarber Posted November 20, 2006 Share Posted November 20, 2006 Ok, the setting "Match user's IP address during session validation" will do exactly that. :blink: It will match your IP address when IPB tries to validate your sessions. If your IP address changes, then it doesn't match does it? As such, your session doesn't validate (with that setting enabled). How can you say it's not working properly?The problem more commonly seen with that setting is when several people have the same IP, it will clear our each other's sessions - so in that case they should ALSO have the setting off. Typically, I'd recommend leaving it on. But if your IP is so dynamic that it changes during a single session, then you'd like need to disable the setting in your case. Link to comment Share on other sites More sharing options...
TestingSomething Posted November 21, 2006 Share Posted November 21, 2006 Ok, the setting "Match user's IP address during session validation" will do exactly that. :blink: It will match your IP address when IPB tries to validate your sessions. If your IP address changes, then it doesn't match does it? As such, your session doesn't validate (with that setting enabled). How can you say it's not working properly?The problem more commonly seen with that setting is when several people have the same IP, it will clear our each other's sessions - so in that case they should ALSO have the setting off. Typically, I'd recommend leaving it on. But if your IP is so dynamic that it changes during a single session, then you'd like need to disable the setting in your case.Then the helpful hint should not say to basically use it unless you have people using the same one. I am sure more people have dynamic IP addresses than static ones now, so that indeed is a huge problem if I keep it to on. Link to comment Share on other sites More sharing options...
bfarber Posted November 21, 2006 Share Posted November 21, 2006 It has been the same way for as long as I can remember, and there hasn't been any issues over it....As for the description, we try to provide a useful one, but if you read the setting, it's doing exactly what it says. :) Link to comment Share on other sites More sharing options...
TestingSomething Posted November 22, 2006 Share Posted November 22, 2006 It has been the same way for as long as I can remember, and there hasn't been any issues over it....As for the description, we try to provide a useful one, but if you read the setting, it's doing exactly what it says. :)If that is true, then something is wrong with RC3. Because I never was logged out randomly like I keep being every few days on this site and on my own site until 2.2. And I deleted cookies and did the cookie settings the way you said, and no string for the session is in the url, so I assume I did that all properly. Link to comment Share on other sites More sharing options...
TestingSomething Posted November 29, 2006 Share Posted November 29, 2006 (and by the way, I never ever get logged out of IPS Beyond, so definitely something in 2.2 is doing this, and I have stronghold cookies turned off) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.