Helpfulbox Now Offers Free POS Software for restaurants, kiosk, and any other retails business completely free used windows cashier system or as full blown POS. You will able to print to kitchen, display orders on the kitchen screen, manage inventory, employee, report, customer loyalty offers, employee management, delivery address track and much more, al for free.

3) How to force .net Webbrowser control to start a new session/process?

Date: Thu-Jun-16-2016-
Response 1
1

Requirement: To

have two embedded .Net WebBrowser controls that each use a different IE

session. Server page sets the user's session. This gets stored in memory and

shared across multiple WebBrowser controls (just like tabs)

The way this is

handled in standard IE is by selecting File > New Session. This opens up a

new IE window in a different process, hence they don't share the same session

in memory

The only thing I've

been able to do is to end the first WebBrowser's session and therefore start a

new one in the second WebBrowser. However this means I lose the first session

which the requirement tells me I shouldn't

Ending the browser

session is done in following way

[DllImport("wininet.dll", SetLastError = true)]

    privatestaticextern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength);

 

    privateconstint

INTERNET_OPTION_END_BROWSER_SESSION = 42;

 

InternetSetOption(IntPtr.Zero, INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0);

Does anyone have

any idea of how WebBrowser controls can each be isolated in a different

session/process?

Date: Thu-Jun-16-2016
Response
What is 1 + 100



Helpfulbox Now Offers Free POS Software

for restaurants, kiosk, and any other retails business completely free. It can be used as windows cashier system or as full blown POS. You will able to print to kitchen, display orders on the kitchen screen, manage inventory, employee, report, customer loyalty offers, employee management, delivery address track and much more, all for free.

Just Updated::