views:

38

answers:

1

I've seen several articles on how wininet can force a web browser control to start a new session (the equivalence of opening IE, going to File and then clicking New Session).

Is this correct or am I misunderstanding? If it is possible, could someone point me in the direction of the reference material(s) that could get me started with it?

Thanks in advance.

A: 

Try InternetSetOption(0, INTERNET_OPTION_END_BROWSER_SESSION, 0, 0)

Sheng Jiang 蒋晟
Given the example with the link you provided, what do I do with h? (I put the vb code through http://www.carlosag.net/Tools/CodeTranslator/, apologies for the ineptitude and delay.)
Dan