Re: Help,Igor,can i workthrough the persistent cookie problem in this way?
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Wed, 16 Apr 2008 13:27:28 -0400
"susan" <none> wrote in message
news:CA5C0B2C-F2F9-420A-B341-C72946121358@xxxxxxxxxxxxx
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
.
- References:
- Prev by Date: Help,Igor,can i workthrough the persistent cookie problem in this way?
- Next by Date: replace tags sin html page
- Previous by thread: Help,Igor,can i workthrough the persistent cookie problem in this way?
- Next by thread: replace tags sin html page
- Index(es):