Post by BugLaden is ignored |
Re: multiple domain names |
Wed, 03 April 2002 14:41 |
|
BugLaden wrote on Wed, 03 April 2002 2:34 PM | Thanks for the quick response! I did a search here on "turn off cookies" but couldn't find anything useful. Can you turn off the ability to login with cookies?
If a user tries to log into the forum through the cooki-fied domain, and checks the "use cookie" checkbox, it will return that user to the home screen, not logged in and no message indicating an error.
Is there some other workaround?
|
Yeah there is and it is pretty easy to add.
You need to edit login.php form and replace the checkbox, with <input type="hidden" name="use_cookie" value="">.
This will make sure that every logged in user will be "forced" to use the session system and the cookies will not be set.
|
|
Post by BugLaden is ignored |
Re: multiple domain names |
Wed, 03 April 2002 12:28 |
|
BugLaden wrote on Wed, 03 April 2002 12:18 PM | Is it possible under the general settings to specify multiple domain names for the cookie? I currently am able to access my site through 2 domain names, and access through the non-named domain doesn't allow a login.
|
You CANNOT set a cookie for more then 1 domain, that is simply impossible. If the forum tries to set a cookie for domain A and then a cookie for domain B only 1 will be accepted by the browser. This is because a browser will ONLY allow a cookie to be set for the domain your currently on. If you are using multiple domains, my suggestion to you is to only use sessions.
|
|
Post by BugLaden is ignored |