Accessing Multiple Installs on same server: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Accessing Multiple Installations on same server}} | {{DISPLAYTITLE:Accessing Multiple Installations on same server}} | ||
Back to [[Documentation]] | Back to [[Documentation]] | ||
* [https://forums.nubuilder. | * [https://forums.nubuilder.cloud/viewtopic.php?f=19&t=10799 Forum Post] | ||
Best practices for accessing multiple | Best practices for accessing multiple installations of nuBuilder from the same server: | ||
#Different subdomains for each instance is the best practice. | #Different subdomains for each instance is the best practice. | ||
#[https://github.com/apmuthu/nubuilder4/commit/55cac0b9beca50e225df02047b07110c00202ceb The recent v4 code commit] (and [https://github.com/nuBuilder/nuBuilder-4.5/commit/f5f76ec8eda7764ed6e5b5e25949dd4b6839f9fd v4.5]) allows one | #[https://github.com/apmuthu/nubuilder4/commit/55cac0b9beca50e225df02047b07110c00202ceb The recent v4 code commit] (and [https://github.com/nuBuilder/nuBuilder-4.5/commit/f5f76ec8eda7764ed6e5b5e25949dd4b6839f9fd v4.5]) allows one installation at a time from being accessed even without logging out from another installation in a single window's single tab. | ||
#If different instances are used in different browser windows / tabs, session hijacking by last login will occur and hence it is advised to refrain from doing so and will require closure of all browser instances (windows and tabs) before going onto another | #If different instances are used in different browser windows / tabs, session hijacking by last login will occur and hence it is advised to refrain from doing so and will require closure of all browser instances (windows and tabs) before going onto another installation. | ||
Afterall the '''$_SESSION variable''' for nuBuilder is the same for all browser tabs/windows and so is the '''cookie''' and that for the '''nudb''' as well. | Afterall the '''$_SESSION variable''' for nuBuilder is the same for all browser tabs/windows and so is the '''cookie''' and that for the '''nudb''' as well. | ||
Before this, #2 could not be used and suffered the same issues as #3. | Before this, #2 could not be used and suffered the same issues as #3. |
Latest revision as of 09:59, 29 January 2022
Back to Documentation
Best practices for accessing multiple installations of nuBuilder from the same server:
- Different subdomains for each instance is the best practice.
- The recent v4 code commit (and v4.5) allows one installation at a time from being accessed even without logging out from another installation in a single window's single tab.
- If different instances are used in different browser windows / tabs, session hijacking by last login will occur and hence it is advised to refrain from doing so and will require closure of all browser instances (windows and tabs) before going onto another installation.
Afterall the $_SESSION variable for nuBuilder is the same for all browser tabs/windows and so is the cookie and that for the nudb as well.
Before this, #2 could not be used and suffered the same issues as #3.