Re: Send current user token to IIS server



Well, I am not active much as a general dev these days, but I am
wondering why you do not set a reference to the IE shadoc and
use it's methods and then access the result using the dom.

"Jan Kucera" <kucera@xxxxxxxxxxxx> wrote in message
news:6422AD48-82B6-4266-9DC2-FA7DAB572F3C@xxxxxxxxxxxxxxxx
Okay, I will. Thank you for your answer.
What I'm trying to do is to make a XmlHttp request with the token set as
the IE sets when in local network. The reason is simple, I do that from
VBA and the client has requested to have single-sign-on, so that he
doesn't have to provide his credentials in the application. As you can see
this is not my idea, but I have to try my best to ..try it.
Thanks for answer,
Jan

"Roger Abell [MVP]" <mvpNoSpam@xxxxxxx> wrote in message
news:u2QzidNyGHA.3512@xxxxxxxxxxxxxxxxxxxxxxx
I doubt that your issues is gettig the token but in marshalling it in way
that the remote wants. Many of us are probably sitting back thinking
"what the . . . " is this app design actually trying to do? Most often
if communicating within a domain context where the token would be
of any use (i.e. would be understood) one does not need to manipulate
them to have an authenticated remote connection as the subsystems will
handle that for you (unless perhaps you have written a service that is at
the other end and that is not leveraging what Windows provides)

I would suggest that you post into one of the MSDN forums.


"Jan Kucera" <kucera@xxxxxxxxxxxx> wrote in message
news:522F668D-26F4-4919-A1FF-AB7D857B0655@xxxxxxxxxxxxxxxx
Nobody knows the API to get the current user token?


"Jan Kucera" <kucera@xxxxxxxxxxxx> wrote in message
news:43CB9919-FDDE-452C-8CC2-0CA1BCD62070@xxxxxxxxxxxxxxxx
Hi,
in VisualBasic I use MSXML to send HTTP request. I know that in
intranet, the IE sends user token in the request header to enable
single-sign-on. I would like to get this token from my app and send it
with my request for the same reason. How can I get the correct token
and format it accordingly?

Thank you,
Jan







.



Relevant Pages

  • Re: Controlling Javascript from server side
    ... but five different language implementations here. ... 'true' means that the request must be handled asynchronously. ... There is exactly *no* reason for such a thing here. ... | percent-endoded string). ...
    (comp.lang.javascript)
  • Re: Controlling Javascript from server side
    ... being the default HTTP charset ever since. ... No, it does not, as the specification and the implementations differ here. ... I said that for a good reason. ... 'true' means that the request must be handled asynchronously. ...
    (comp.lang.javascript)
  • Re: OT: sea level rise hmmmmm....
    ... what I do when there is a request I don't have time to ... publications, and with what I believe good reason, but right now I won't. ... of providing an informed digest. ... paper that later just _happens_ to have some policy impact doesn't ...
    (sci.electronics.design)
  • Re: [PHP] Looking for a reasonable explanation as to why $_REQUEST exists
    ... have a session variable they want to access and use $_REQUEST for it I ... I see no reason why people would not want to clearly ... superglobals before I really understood how important they were and ... So whether id comes from get or post doesn't matter ...
    (php.general)
  • Re: [PHP] Looking for a reasonable explanation as to why $_REQUEST exists
    ... have a session variable they want to access and use $_REQUEST for it I ... I see no reason why people would not want to clearly ... superglobals before I really understood how important they were and ... So whether id comes from get or post doesn't matter ...
    (php.general)