15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

How to apply cookie for sub-domain?

Author tkx211
#1 | Posted: 6 Oct 2011 06:52 
If I have:
- example.com
- my.example.com
- example.com/mylove
and install miniBB at example.com.
How do I do to apply miniBB's cookie to all above domain?
(when loggin, if $_COOKIE['abc'] is set at example.com, it also set at my.example.com)
Please help me!

Author tkx211
#2 | Posted: 6 Oct 2011 10:24 
oh. i solved it :)

Author Paul
Lead Developer
#3 | Posted: 6 Oct 2011 11:44 
Which way did you solve it?

I suppose setting '.example.com' as the domain may help (note the dot on the front).

Author tkx211
#4 | Posted: 6 Oct 2011 16:37 
yes. this is way i solved it

Author samuelsss
#5 | Posted: 9 Oct 2011 01:07 
I am glad that you got it to work.

How To miniBB Support Forums / How To / How to apply cookie for sub-domain? Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB