Re: IAuthenticate problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I was looking at this function 1-2 years ago when I needed to clear session
cookies. Should I call it to NULL internet handle? Won't this affect also
other web browsers running concurrently in my process, but different threads?
I'm not sure but if I remember correctly I didn't use it for this reason.
I'll try but I'm afraid it will.


"Igor Tandetnik" wrote:

rrrado <rrrado@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I'm implementing IAuthenticate::Authenticate() method to provide HTTP
login information. I need to access the page with one username and
then again with different one (I close old WB control and create new
one in the new window and thread).

Call InternetSetOption(INTERNET_OPTION_END_BROWSER_SESSION). This clears
credentials cache, among other things.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925



.



Relevant Pages

  • Re: session data lost
    ... In order to see if the problem is in the passing of the session id back to ... from the internet, session data is not stored; ... I'm also assuming that the same Web server is being used in both ... and that you are maintaining your sessions by using cookies. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: session data lost
    ... In order to see if the problem is in the passing of the session id back to ... accessed from the internet, session data is not stored; ... session data is stored OK. ... and that you are maintaining your sessions by using cookies. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Hiding variables passed via URL
    ... well you can view cookies as well. ... What else constitutes a 'session variable' apart from POST or GET data ... But then you don't understand that session variables aren't POST or GET ... You could coordinate PHP with Javascript. ...
    (comp.lang.php)
  • Re: Hiding variables passed via URL
    ... well you can view cookies as well. ... What else constitutes a 'session variable' apart from POST or GET data ... But then you don't understand that session variables aren't POST or GET ... You could coordinate PHP with Javascript. ...
    (comp.lang.php)
  • Re: Cookie Removal
    ... I have tried to restrict all but desireable cookies from invading my ... cookies & temp internet files from being saved on my workstation. ... my data backup uses a DOS batch file and XCOPY. ... change the privacy level or to view summaries of each privacy level. ...
    (microsoft.public.windowsxp.general)