site-manager | Setup and manage nginx and php websites | Runtime Evironment library
kandi X-RAY | site-manager Summary
kandi X-RAY | site-manager Summary
Setup easy and fast nginx and php for a website.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of site-manager
site-manager Key Features
site-manager Examples and Code Snippets
Community Discussions
Trending Discussions on site-manager
QUESTION
E.g. My site has two subdomains : first_domain and second_domain.
And My site has three roles:admin, site-manager, editor.
I hope:
User with admin can login first_domain, can't login second_domain. (When user visit second_domain user status is not logined and not lost first_domain logined status)
User with site-manager can login second_domain, can't login first_domain.
User with editor can login first_domain and second_domain.
Does anyone have any solution?
...ANSWER
Answered 2017-Aug-07 at 10:35You need to manage session in every domain and check that if one user is login in first domain and session is created then the second user redirects to a page where it say already login.
I cannot write a code here for you for making sessions. You can create session in php.
Let me know if you are not able to understand the logic.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install site-manager
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page