Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm doing a lot of development with the Facebook API and it would be useful if I could be logged-in to the site with two separate accounts at the same time. Currently I use two browsers to do this, but it is something of a pain in the posterior.

I was wondering if there are any tricks I could use to do this instead, in a single browser?

share|improve this question

migrated from webmasters.stackexchange.com Oct 31 '11 at 13:17

This question came from our site for pro webmasters.

3 Answers 3

up vote 6 down vote accepted

It totally depends upon the browser you are using.

Google Chrome

  1. Copy the current chrome.exe's target by going to Chrome's Properties.
  2. Make a new shortcut and paste that copied target, make sure it is in double quotes, at last of target add --chrome-data-dir=C:\Chrome2 press next and name that shortcut e.g. Another Chrome.
  3. There will be a folder named Chrome2 created in C: partition holding your another profile :)

Firefox

  1. In Firefox its pretty easy to do. Right Click on Firefox's icon and go to properties.
  2. At last of the target add -P Firefox --no-remote and apply the settings.
  3. Each time you start Firefox (by clicking the shortcut you modified) you will be prompt for using profile.

I have screencasted a video on this topic, see it on YouTube

Alternatively, if you are using browser other than mentioned above you can use Private browsing (also known as InPrivate Browsing in IE and Incognito Window in Google Chrome) which are quite popular on mainstream browsers, but it is recommended to specify a dedicated directory so that you don't lose your data after you quit the browser (when using private mode you lose your data when you quit the session)

share|improve this answer
    
Many thanks for the detailed instructions. Works very nicely indeed. –  5arx Nov 1 '11 at 9:16

Newer versions of almost all popular browsers allow you to open sites in private/incognito mode. Using this feature, you can start separate sessions in the regular & private modes.

It is called Private Browsing in Firefox (Ctrl+Shift+P) & Safari, InPrivate Browsing (Ctrl+Shift+P) in IE9+, Incognito window in Chrome (Ctrl+Shift+N).

IE8+ has an option called New Session under the File menu that you can use to handle two different sessions of the same site

share|improve this answer
    
Many thanks for the info. Works really well and is going to save me much hair-tearing. I'm accepting @Santosh's because of his additional tips. –  5arx Nov 1 '11 at 9:18
    
one con I find in this method is: when you quit the browser, you will lose all your browsing data (including cookies, cache etc.). Specifying a dedicated directory for holding the profile gives you freedom from sessions. You can continue even after shutting down. –  Santosh Kumar Mar 28 '12 at 6:24

I'll add instructions for Opera:

opera -pd ~/.opera2

will start an independent session with session directory ~/.opera2.

Opera, as do Chrome, also supports incognito mode by pressing Ctrl+Shift+N, but this will come with the drawback that one cannot reopen closed tabs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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