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: Wed, 2 Apr 2008 14:13:02 -0700 (PDT),    group: microsoft.public.inetsdk.programming.urlmonikers        back       


Strange thing with redirect on post   
I discovered something strange with IInternetProtocol's bindinfo.
In the case of the following scenario:

- a POST request (with values posted application/x-www-form-
urlencoded)
- responded to with a redirect (301 Moved Permanently)
- and triggers a new GET request to the other URL

This last request has cbstgmedData of it's BindInfo also set to a
structure that provides access to the data as posted with the first
request! But GetBindString(BINDSTRING_POST_DATA_MIME does not report
anything, as it should.

Is this a minor mistake, or does this have a purpose?
date: Wed, 2 Apr 2008 14:13:02 -0700 (PDT)   author:   StijnSanders

Re: Strange thing with redirect on post   
In debugging XMLHTTPRequests to my service, I noticed that with a POST
XMLHTTPRequest
BindInfo.GetBindString(BINDSTRING_POST_DATA_MIME
returns INET_E_USE_DEFAULT_SETTING,
but with a 'redirect response on POST request' it returns ok with 0
strings,
that will fix the side-effects I was having,

but still leaves open the question why the post-data would be still
available to the 'request from redirect response on POST request'...
date: Fri, 4 Apr 2008 07:26:06 -0700 (PDT)   author:   StijnSanders

Google
 
Web ureader.com


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