Solved

WebControl

Posted on 2004-10-07
5
393 Views
Last Modified: 2008-03-10
Hi,

I am developing an application based on browser control under VB.NET.
Everything works fine upto a point when I want to clear the
authentification in the cache.  I found that the ExecWB method could
do that with the 'IDM_CLEARAUTHENTICATIONCACHE' parameter
(http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/mshtml/reference/commandids.asp).
But this parameter doesn't seem to be implemented in vb.net.

So how can I clear the authentification ?

Thank a lot.

Raf
0
Comment
Question by:rafss
  • 2
5 Comments
 
LVL 18

Accepted Solution

by:
tusharashah earned 500 total points
ID: 12251364
Which Authentication are you using? (Windows/Forms?)

If you are using FormsAuthentication then you can call following method when you want to Clear Authentication

------------------------------------------------
FormsAuthentication.SignOut()
------------------------------------------------

-tushar
0
 
LVL 18

Expert Comment

by:tusharashah
ID: 12452962
I believe the way I suggested is what he was trying to accomplice..

-tushar
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Protecting vb6 & .Net code Obfuscation 18 97
Closing all open child forms. 4 38
Get list of word ducuments in a folder 10 36
Exit the loop 4 37
This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now