Mental Jetsam

By Peter Finch

Google Chrome multiple browser session instances

Posted by pcfinch on February 6, 2012

Have you ever wanted to login to a website using the same browser, but with multiple different sessions. For example, log in to GMail, using Google Chrome, but as two different users. Normally, the moment you login as the second user you will be logged out from the first session because the session information [cookie] is “shared” between the browser windows.

Here is a simple trick. Create a new short-cut to Chrome and add “–user-data-dir=c:\temp\user2” to the Chrome command and you’ll get a second “instance” of chrome, with completely different session information. If you want another instance, use a different directory name, etc. As a new instance it will not have any of the settings from your “normal” instance but it’s great for testing websites.

C:\Users\[username]\AppData\Local\Google\Chrome\Application\chrome.exe --user-data-dir=c:\temp\user2

BTW… unless you want to use the same browser information in the future, don’t forget to remove c:\temp\user2 when your done.

Advertisements

One Response to “Google Chrome multiple browser session instances”

  1. Ed DeGagne said

    Fantastic!! This resolves an issue I had with opening multiple incognito windows of Chrome. I still get the incognito widows AND I can have multiple sessions!!

    Thank you!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: