Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 17 Apr 2008 00:39:15 +0800,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


Help,Igor,can i workthrough the persistent cookie problem in this way?   
Because the persistent cookie is per-user basis.
So, can I create an thread(not process) running in another user account
to get a separate persistent cookie from the current user's?
date: Thu, 17 Apr 2008 00:39:15 +0800   author:   susan none

Re: Help,Igor,can i workthrough the persistent cookie problem in this way?   
"susan" <none> wrote in message
news:CA5C0B2C-F2F9-420A-B341-C72946121358@microsoft.com
> Because the persistent cookie is per-user basis.
> So, can I create an thread(not process) running in another user
> account to get a separate persistent cookie from the current user's?

I don't know, really. I'm pretty sure running a separate process under 
different account would work, but not so sure about just a single thread 
(I assume you plan to do something like ImpersonateLoggedOnUser).

WinInet routinely creates and uses worker threads, possibly maintains a 
thread pool containing threads that were created before the 
impersonation. A request may be handled by one of these threads, which 
would then write the cookie under a "wrong" user profile. I don't quite 
see how one can avoid this.
-- 
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
date: Wed, 16 Apr 2008 13:27:28 -0400   author:   Igor Tandetnik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us