I have parent window and provided a link. For now I am using below code snippet to open a pop up window
self.open(pageLoc,'ServicePopUp','height=600,width=800,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=yes');
but I want to open completely new browser (like we open a new instance of webbrowser on click of IE) on click of link not a pop up window so that new browser has seperate session from parent window.
How should I go about it?
In a nutshell, you can’t.
Sessions are identified by cookies, which are browser-wide — any session available to the parent window will be available to your child window.
There’s two ways to go about this, a “good” way and a “hacky but probably easier” way.
The good way:
Code you site such that it can emulate this multi-session behavior. Maybe have a special parameter in the url that identifies this as a new-session window, and then have a separate block of data that you treat as your session for these windows.
The hacky way
Set up wildcard dns, such that any subdomain of your site will show the same thing (i.e. http://www.yoursite.com == aoeu.yoursite.com == qjkx.yoursite.com etc), then open the popup at a randomly generated subdomain. Ensure that your cookies for your main site specify that they only apply to http://www.yoursite.com, and then visits to the subdomain’d sites won’t have access to the session information