Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 3 Mar 2006 13:15:00 -0500,    group: microsoft.public.platformsdk.internet.server.isapi-dev        back       


ISAPI Redirection and In-Line document links   
I can not seem to get our filter to pass along inline document links.  For 
example, the following URL:

http://mydomain.com/conents/document1.htm#myInlineDocLink

Gets truncated to:

http://mydomain.com/newRedirectDirectory/document1.htm

after it is processed by the filter.  We are using the Server Variables to 
get the URL and do the redirection but as mentioned it does not seem to 
include anything beyond the document1.htm characters above.  It works fine 
with appended query strings such as:

http://mydomain.com/newRedirectDirectory/document1.htm?param1=test¶m2=test2

I am not an ISAPI guru so any help would be greatly appreciated.

Thanks,
date: Fri, 3 Mar 2006 13:15:00 -0500   author:   djohnson066 am

Re: ISAPI Redirection and In-Line document links   
Hello,

The information after the '#' is used only by the client.  In fact, the
client never actually sends it on the wire.  This is why you cannot see it
in a filter.

Of course, the ramification of this is that, since it's purely a client
thing, whatever you are trying to do with it on the server can never work.

Thank you,
-Wade A. Hilmo,
-Microsoft

"djohnson066" <djohnson066@newsgroups.nospam> wrote in message
news:#fAkk5uPGHA.3016@tk2msftngp13.phx.gbl...
> I can not seem to get our filter to pass along inline document links.  For
> example, the following URL:
>
> http://mydomain.com/conents/document1.htm#myInlineDocLink
>
> Gets truncated to:
>
> http://mydomain.com/newRedirectDirectory/document1.htm
>
> after it is processed by the filter.  We are using the Server Variables to
> get the URL and do the redirection but as mentioned it does not seem to
> include anything beyond the document1.htm characters above.  It works fine
> with appended query strings such as:
>
>
http://mydomain.com/newRedirectDirectory/document1.htm?param1=test¶m2=test2
>
> I am not an ISAPI guru so any help would be greatly appreciated.
>
> Thanks,
>
>
date: Fri, 3 Mar 2006 10:55:01 -0800   author:   Wade A. Hilmo [MS]

RE: ISAPI Redirection and In-Line document links   
Hi,

Thanks for posting!

Wade's suggestion is appreciated! The "#" only is an anchor element for the 
client usage in HTML. The client never sends it to the server. That's why 
the URL can not be captured by the ISAPI filter. The following article from 
W3C gives us more explanation about the anchor element:
http://www.w3.org/MarkUp/1995-archive/Elements/A.html

Hope this will be helpful!

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD were 
updated on February 14, 2006.  Please complete a re-registration process 
by entering the secure code mmpng06 when prompted. Once you have 
entered the secure code mmpng06, you will be able to update your profile 
and access the partner newsgroups.
====================================================== 
When responding to posts, please "Reply to Group" via your newsreader 
so that others may learn and benefit from this issue. 
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights. 
======================================================
date: Mon, 06 Mar 2006 06:17:46 GMT   author:   (Yuan Ren[MSFT])

Google
 
Web ureader.com


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