Results 1 to 8 of 8

Thread: Run two CRM instances side by side

  1. #1
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Run two CRM instances side by side

    This is might simple but if I have a live a test and a dev instance of my SugarCRM - how is it possible to each open at the same time and use them.

    Instead if I log into one I am logged out of the other etc...

    I found reference to the PHPSESSID in a sugar wiki but didn't fully understand it.
    http://www.sugarcrm.com/wiki/index.p...e=PHP_Sessions

    Rgds
    Chris
    Last edited by chrislynch8; 2010-01-05 at 02:29 PM.
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Run two CRM instances side by side

    change the unique key in config.php.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Re: Run two CRM instances side by side

    So I change the unique key in the config.php in the CRM root folder - Will this affect anything in the CRM?

    Is this key always the same?


    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Run two CRM instances side by side

    I am doing this all the time but I have my session directory within the Sugar directory. This can be changed in config.php (mind the slashes...)
    Not sure about the unique key but usually Loek knows what he's talking about.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Re: Run two CRM instances side by side

    Quote Originally Posted by roblaus View Post
    I am doing this all the time but I have my session directory within the Sugar directory. This can be changed in config.php (mind the slashes...)
    Not sure about the unique key but usually Loek knows what he's talking about.
    Hi,

    So where the current config.php include seesion_directory = '' just change it to my Sugar Instance directory. Are you using a new directory called Sessions for example /var/www/crm/live/sessions??

    So I have that done and it is working - Two questions.

    1: Where are they stored by default?
    2: What do you do to remove them when a user is no longer accessing the CRM? - Will your sessions directory not fill up.

    Rgds
    Chris
    Last edited by chrislynch8; 2010-01-05 at 03:35 PM.
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  6. #6
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Run two CRM instances side by side

    1. Depends on your operating system, you can find this out by doing a phpinfo(); call in a new PHP file and accessing that file
    2. PHP and Apache will manage your sessions

    Be reminded that storing sessions this way makes them accessible using a web browser. To be safe, add this directory to the existing .htaccess file in the Sugar root (will be rebuilt upon upgrades) or store it somewhere else outside the web directory.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  7. #7
    wedomarketing is offline Junior Member
    Join Date
    Mar 2009
    Posts
    1

    Default Re: Run two CRM instances side by side

    This may sound dumb, but I've been accomplishing this by just using two different browsers (Chrome/Firefox). It's cheap, but it doesn't require that I modify any code. And, if you have Win7 installed, you can snap both browsers to the sides and view both installs simultaneously. Alternatively (without Win7), just resize your windows and you're set.

    Some people may not like this method, but it has been working out great for me.

  8. #8
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Run two CRM instances side by side

    yeah it works just as well indeed, but sometimes browsers *are* the subject of testing/developing and are not flexible
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Side Quick Create Box??
    By jim.thornton in forum Developer Help
    Replies: 3
    Last Post: 2009-03-17, 01:17 AM
  2. Group multiple fields side by side
    By URtech in forum Developer Help
    Replies: 0
    Last Post: 2009-02-23, 04:09 AM
  3. Business Side CRM Help
    By RattleHunter in forum Classifieds
    Replies: 9
    Last Post: 2009-01-26, 10:19 AM
  4. 2 Subpanels side by side?
    By whighsmith in forum Help
    Replies: 0
    Last Post: 2008-10-14, 02:55 PM
  5. how to display sub panels side by side?
    By sankar in forum Developer Help
    Replies: 0
    Last Post: 2006-03-30, 11:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •