From: Alastair K. <kn...@gm...> - 2015-06-24 11:39:25
|
Hi, It seems currently if you've got 2 different WebERP installs on the same web server with 2 different paths (e.g. http://server/webERP1/ and http://server/webERP2/), they share the same session cookies and thus logging into both sessions at once could end up overriding the wrong database. After doing some reading, it seems its possible to set the session path in the cookies, thus forcing each install to have its own cookies. I've made the required changes to the session.inc file and have been running 2 concurrent installs with no problems for the last couple of months. Just as a background as to how I've been using this functionality, this allows me to have both a live system and a totally isolated development system running concurrently from which I can try modifications without the risk of damaging the live system and without having to temporarily log out of the live system. I've made the necessary modifications (a grand total of 4 added lines) and have re-based it to the latest svn (as of half an hour ago). Would it be possible for this feature to be added upstream to the sourceforge svn? (Pending review of course) If so, I'll send through the diff asap. My Regards, Alastair Knowles. |