4

I have noticed that if I login to a test.salesforce.com sandbox in one Safari tab, and a different test.salesforce.com sandbox in a second tab, that the login sessions can become confused. One tab will switch over to use the other org's session. I understand that it is normal for tabs to share the same session information but this presents a difficulty when trying to work reliably with two sandboxes at once. What is the best solution?

  • 1
    Use different browsers (e.g. chrome & firefox). – Liron C Nov 1 '16 at 17:44
6

Use an incognito window or a different browser. You should only experience this issue if both orgs are on the same instance, e.g. cs12.

| improve this answer | |
  • 1
    Yes, I get around this by using Chrome, Firefox and Edge (as I'm on Windows) also it is good for testing cross browser compatibility too with the UI. – Dave Humm Nov 1 '16 at 17:42
  • I prefer My Domain to the browser juggling solution, but this solution certainly works. – sfdcfox Nov 1 '16 at 18:34
  • The votes can decide, but a solution that requires a refresh certainly carries more overhead and risk. – Adrian Larson Nov 1 '16 at 18:37
  • Also custom domains complicate usage of several other tools. – Adrian Larson Nov 1 '16 at 19:06
5

Set up My Domain in your production org, then refresh your sandboxes. They'll each get unique domains, and will allow you to work seamlessly in multiple orgs. The URL for each sandbox will change to something like "https://mydomainname--sandboxname.instance.my.salesforce.com/". This lets you open many sandboxes with virtually zero risk of sessions getting clobbered.

| improve this answer | |
2

I use a Chrome extension called Multi-Login. It allows you to open a new tab with separate session data. It works for SF, social media sites, whatever you want. If I open a link from that session into a new tab, then it's within the same session. If I click the button from the extension, I can generate myself another session.

So, I can have as many SF orgs as I want open in separate tabs.

For some reason it was pulled from the Chrome store, but this guy has a backup of the package here:

http://www.theyanglu.com/toolkit/multiple-sessions-in-google-chrome-with-multilogin

I've never used it, but there is a tool to do the same thing which is still available on the Chrome store here:

https://chrome.google.com/webstore/detail/sessionbox-free-multi-log/megbklhjamjbcafknkgmokldgolkdfig?hl=en

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.