Results 1 to 3 of 3

Thread: Two Sugars on the Same Server

  1. #1
    hanbri is offline Junior Member
    Join Date
    Mar 2009
    Posts
    4

    Default Two Sugars on the Same Server

    Hi,

    I hope that this is the correct place to post my problem... If it isnt im terribly sorry but i couldnt find topics that suited my problem, that is as follows:

    I have two websites on a linux box:

    /var/www/website1/
    /var/www/website2/

    They both have sugar installed on the website root. eg: /var/www/website1/sugar/

    My problem is that if i log into the one site it logs me out of the other... I feel its got to do with a session_variable on login.

    Could someone please shed some light on this problem, as i feel it could be an issue for our marketing people.

    Regards,
    Hannes

  2. #2
    dlorenzetti's Avatar
    dlorenzetti is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    São Paulo, Brasil
    Posts
    189

    Default Re: Two Sugars on the Same Server

    Hi Hannes,

    For solve this problem you can define a diferent session path for each system.

    For that you need to edit the config_override.php file and add the 'session_dir'.

    For example, inser this line in the end of the file:

    PHP Code:
    $sugar_config['session_dir'] = 'cache/session'
    In this example Sugar is save the session in 'cache/session', So you need to create this folder in each System.


    Cheers,
    Diego
    Diego Lorenzetti
    Lampada Global Services - Open Source Solutions
    Phone: +55 11 3237-3110
    Email: equipe@lampadaglobal.com
    Site: www.lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

  3. #3
    hanbri is offline Junior Member
    Join Date
    Mar 2009
    Posts
    4

    Default Re: Two Sugars on the Same Server

    HI Diego,

    Thank you for the quick response...

    It worked like a dream!!!!!! thank you again. enjoy your weekend
    regards

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. différentes fonctionnalités de sugars crm
    By realkilla in forum Français
    Replies: 1
    Last Post: 2008-09-11, 10:41 AM
  2. sugars table to other database
    By default in forum Developer Help
    Replies: 3
    Last Post: 2007-07-19, 08:05 PM
  3. Replies: 0
    Last Post: 2007-06-26, 11:38 AM
  4. Replies: 0
    Last Post: 2007-02-01, 01:27 PM
  5. Merging Two Sugars together
    By sacramentojoe in forum Help
    Replies: 2
    Last Post: 2005-11-24, 06:26 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
  •