miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
How To miniBB Support Forums / How To /  
 

How to apply cookie for sub-domain?

 
Author tkx211
Partaker
#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
Partaker
#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
Partaker
#4 | Posted: 6 Oct 2011 16:37 
yes. this is way i solved it

Author samuelsss
Partaker
#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?
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑