Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ Requests :: Archives ⇒ Multiple Domains :: Archived


Multiple Domains :: Archived
Requests for core changes must be submitted through the Projects Features section.
Go to page Previous  1, 2
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ⇒  Requests

Topic Archived View previous topic :: View next topic  
Author Message
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Wed Nov 24, 2004 2:46 pm
Post subject: Re: Multiple Domains

It is a complex area and is a lot of work, and few people will have time to spend on it at the moment - as I recall, previous requests weren't taken up, even when money was offered. Best to explore your system and experiment yourself for now.

I don't know what happened to that previous post, but there are other bits and pieces which you may find by patiently selecting different words and searching the forums.

Then you will find topics like this,
cpgnuke.com/Forums/vie...refix.html

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Wed Nov 24, 2004 3:36 pm
Post subject: Re: Multiple Domains

Folks,

As entertaining as this thread is, the current sessions manager will not work across multi-domains due to cookie issues.

I would hazard to make this work it would require (another) complete rewrite of the sessions to get this to work properly, and ensure no exploitation is possible across the two domains.

I personally think this is an incredible waste of time and resources to save $60/year....ridiculous I think (no offense meant, just being honest).

Web hosting is so cheap, why torture yourself doing this?

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
anim_chowdhury
Newbie
Newbie

Offline Offline
Joined: Nov 21, 2004
Posts: 24

PostPosted: Wed Nov 24, 2004 4:31 pm
Post subject: Re: Multiple Domains

Hi, Jeruvy. Did you read my needs? Here I don't need to share DB or session for another domain.

Any one can tell me the structure of codes that I can use to each site(same code for each site), that will add same user name(with same user info) to rest DBs of rest domains? And when user clicks the activation link from email, his account will be activated for all site.

I think this process will have less security hazards than using shared DB.
Cause when user has logged in Site A and connects to Site B using same or new browser window, he will be shown log in option for Site B and have to log in gain(since he has not logged in Site B).
That is what I need.
Thanks


anim_chowdhury's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP/XAMPP 1.4.9/8.2b
Back to top
View user's profile
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Fri Nov 26, 2004 3:39 am
Post subject: Re: Multiple Domains

anim_chowdhury wrote:
Hi, Jeruvy. Did you read my needs? Here I don't need to share DB or session for another domain.


Ok, give us a comprehensive on the process you envision.

Quote::

Any one can tell me the structure of codes that I can use to each site(same code for each site), that will add same user name(with same user info) to rest DBs of rest domains? And when user clicks the activation link from email, his account will be activated for all site.

How are your sites defined? How is one site known (or unknown) different from another? What is the defined purpose of the difference in 'sites' then?

If your not using domains, then what is the definition of what you are attempting, since I think even more likely you could do this with one installation using groups, but I need more specifcs to your request perhaps to understand what you specifically mean.

Quote::

I think this process will have less security hazards than using shared DB.
Cause when user has logged in Site A and connects to Site B using same or new browser window, he will be shown log in option for Site B and have to log in gain(since he has not logged in Site B).
That is what I need.
Thanks

Again, yes using one installation is only one risk vs. having two installations hence two risks.

Now for the login part, why not have a master site:

www.subscribe.com

Here users have a basic login and create accounts. These are mirrored nearly realtime to:

www.awesomewebsite.com

so that when the login occurs or the user goes for content they are sent to that site. The login info is the same so they automatically have accounts. Turn off anonymous users and it's private.


Now I assume two separate installations to do this both with their domains individual. Maybe this is what your thinking of?

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
flum
Newbie
Newbie

Offline Offline
Joined: Jul 24, 2006
Posts: 14

PostPosted: Mon Jul 24, 2006 1:06 pm
Post subject: Re: Multiple Domains

I have nearly the same issue. I'm trying to use one website wicht several database in order to that the user have the imporession that he is on a different web site each time he change the database.
So to do this I use parameter (as portal=atoll2) in link that I put in my main website and I chek the parameter in config.php. After I create a session et save in which website the user want to be. My problem is that the other part of the code erase the data linking witch the session.
So someone find a way to make it work?

Here My code in config.php:

if($QUERY_STRING=="portal=atoll2"){
session_start();
$_SESSION['site']=2;
echo " we are in portal atoll2";
}

if(isset($_SESSION['site'])){
echo " we stay in the portal atoll2";
}


Tell me if you have some idea.

Ps: sorry for my englilsh (I'm french)


flum's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
winXP/Apache2/PHP4.3.7/dragonfly9.0.6.1
Back to top
View user's profile
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Mon Jul 24, 2006 5:58 pm
Post subject: Re: Multiple Domains

cookie ?


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
flum
Newbie
Newbie

Offline Offline
Joined: Jul 24, 2006
Posts: 14

PostPosted: Tue Jul 25, 2006 4:37 am
Post subject: Re: Multiple Domains

Finally I find my mistake. You can't open a session in the "if" because the session will be open just if you enter in this "if'.

So I put session start before everything and it's OK


flum's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
winXP/Apache2/PHP4.3.7/dragonfly9.0.6.1
Back to top
View user's profile
gaban
Nice poster
Nice poster

Offline Offline
Joined: Apr 26, 2005
Posts: 84
Location: Kuala Lumpur
PostPosted: Sun Mar 18, 2007 5:25 pm
Post subject: Re: Multiple Domains

any progress on this?


gaban's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
WinXP/2.0.54/4.1.12/5.0.4/9.0.8 cvs
Back to top
View user's profile Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page    Forum Index ⇒  Requests
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy