FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » multiple domain names
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Message by BugLaden is ignored  [reveal message]  [reveal all messages by BugLaden]  [stop ignoring this user] Go to next message
Re: multiple domain names [message #1289 is a reply to message #1288] Wed, 03 April 2002 12:28 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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.


FUDforum Core Developer
Message by BugLaden is ignored  [reveal message]  [reveal all messages by BugLaden]  [stop ignoring this user] Go to previous messageGo to next message
Re: multiple domain names [message #1292 is a reply to message #1291] Wed, 03 April 2002 14:41 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
BugLaden wrote on Wed, 03 April 2002 2:34 PM

Thanks for the quick response! Very Happy 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.


FUDforum Core Developer
Message by BugLaden is ignored  [reveal message]  [reveal all messages by BugLaden]  [stop ignoring this user] Go to previous message
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Dump Messages to HTML - Archive?
Next Topic: Private Forums?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Apr 16 16:17:49 EDT 2024

Total time taken to generate the page: 2.00052 seconds