开发者

How to manage users and access to the different sites in intranet from a main server?

I have more than four sites on my intranet. Now what i want to do is to manage all these sites from the main site. I need to manage that main site which can give access to the users to go to these sites and do the thing that can be done by logging to the individual sites.

开发者_开发技巧

I read about OpenID on this link http://devzone.zend.com/article/3581

Now I want to know that if I can manage this using OpenID or is there any other way to do.

Any suggestion will be appreciated.

Thanks in advance


I'm not clear what you're wanting. Are you wanting to run numerous sites from a single code base, with unique login mechanisms for each site?

I achieved a similar thing recently. I had a website that was available in different languages, and each language version had its own domain, parked on a single web server. My index.php picked up the domain the code was being accessed from and checked to see if there was a valid login for that particular domain.

This is using something as simple as a cookie or session, as both work on a per-domain basis. Therefore, if I logged on at example.com but then went to example.es, I would be prompted to log in to example.es because I logged on in what was a different domain.

Hope this logic helps you out.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜