Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Separate session for each window

I am trying to create an extension where each window of chrome has its own session. We used incognito earlier, but the problem is that while the main window and the incognito window have separate sessions, the session is shared between the various incognito windows.

Is there any way of configuring chrome to use a separate session every time an incognito window is opened?

like image 527
Mukul Jain Avatar asked Nov 09 '12 04:11

Mukul Jain


1 Answers

Your goal will be start a Chrome instance with a new user data directory. The cookies will be isolated in each instance. In the extension to implement a way to reach the same goal as this command on cmd:

chrome.exe --user-data-dir="C:\temp\user1"
like image 108
Jerry Z. Avatar answered Nov 03 '22 19:11

Jerry Z.