|
Posted by adam.waterfield@gmail.com on July 16, 2008, 4:59 pm
Please log in for more thread options
> Your problem is mainly finding out what Exchange expects.
> I would approach this as follows:
> 1) Get the source of your 'normal' weblogin for owaauth.dll.
> 2) Change this a little, so it posts to YOUR testscript, not
> owaauth.dll. (Change the action in the form)
> 3) your testscript now puts out all it knows about the posting, eg:
> Everything in $_POST and $_GET and $_COOKIE, and $_SERVER.
>
> Simply use:
> echo "POST CONTAINS:<pre>";
> print_r($_POST);
> echo "</pre>";
>
> etc for all abovementioned superglobals.
>
> I do not remember excactly what it is you need, but I found out what to
> use in this way some years ago.
> Just test a little, and I expect you'll find the right posting/curl
> solution.
> Also, it is possible this only works in IE, and not in FF. I think IE
> sends some authorisation information for the station it is running on.
> Not 100% sure either, sorry. ;-)
> So I advise you to test first on IE, and when you suceed, test it on FF
> later.
>
Thanks for your thoughts on this Erwin. I will have ago at what you
suggest and see what happens. I think a lot of this as you say will be
trial and error, it may not be the simplest thing to achieve.
|