Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Impersonation problem


Message #1 by "David de Almeida Lindgren" <dalind@m...> on Fri, 1 Sep 2000 11:45:06 +0100
This is a multi-part message in MIME format.



------=_NextPart_000_0007_01C0140A.1AE81620

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: 8bit



Hi folks!



    Once again I´m dealing with impersonation problems in ASP/CDO and the

ASPUser component (www.aspuser.com) - take a look at this, Siegfrid... This

time, I´m getting the error 0115 (trappable error has occurred in an

external object) when the logoff method of the oAMSession object runs (in

the Session_OnEnd event). According to my researches, this happens because

the thread that tries to logoff the user is not the thread (which was

authenticated by the aspuser component logon method - in fact, I believe

that the aspuser component changes the security context of the running ASP

page thread). The point is: How can I keep this authenticated thread number,

so I can reuse it when the user calls the logoff method?






Message #2 by stephenb@w... on Fri, 1 Sep 2000 16:08:59 +0100
Forwarded by Moderator



I accidently sent the message without ending it.



    Can someone help me?



    Thanks in advance...



    David Lindgren

Message #3 by <sweber@c...> on Fri, 1 Sep 2000 18:28:34 +0200
This is a multi-part message in MIME format.



------_=_NextPart_001_01C01431.AC69C9BE

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



Believe it or not David but I have it already d/l and registered :) I've

just started playing with it and will report some findings soon.



In the meantime you can check if your ASP session didn't time out before

you call the CDO 1.x Session.Logoff. If so you'll also get this ASP0115

error.



</Siegfried>

--



Microsoft Most Valuable Professional (MVP) - Exchange Server

Co-author of "Professional CDO Programming", Wrox Press 1999



CDOLive - The Premier Resource for Microsoft Collaboration Data Objects

http://www.cdolive.com <http://www.cdolive.com/>

mailto:sweber@c... <mailto:sweber@c...>





-----Original Message-----

From: David de Almeida Lindgren [mailto:dalind@m...]

Sent: Friday, September 01, 2000 12:45 PM

To: Wrox ASP CDO

Subject: [asp_cdo] Impersonation problem

Importance: High





Hi folks!



    Once again I=B4m dealing with impersonation problems in ASP/CDO and

the ASPUser component ( www.aspuser.com <http://www.aspuser.com> ) -

take a look at this, Siegfrid... This time, I=B4m getting the error 0115

(trappable error has occurred in an external object) when the logoff

method of the oAMSession object runs (in the Session_OnEnd event).

According to my researches, this happens because the thread that tries

to logoff the user is not the thread (which was authenticated by the

aspuser component logon method - in fact, I believe that the aspuser

component changes the security context of the running ASP page thread).

The point is: How can I keep this authenticated thread number, so I can

reuse it when the user calls the logoff method?







  Return to Index