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: Mon, 09 Jun 2008 15:24:58 +0400,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


Open in new windows and referrer   
I'm trying to get a referrer by calling IHTMLDocument2::get_referrer(). 
It works fine for in-window hyperjumps. But when document is opened in a 
new window - IHTMLDocument2::get_referrer() returns NULL string.
I also tried call IHTMLDocument2::get_parentWindow() then 
IHTMLWindow2::get_opener() but it returns VT_EMPTY variant :(
It's so confusing because JavaScript's 
document.parentWindow.opener.location.href works fine!

Please, tell me the way to determine referrer in a new window opened.


-- 
Raider
date: Mon, 09 Jun 2008 15:24:58 +0400   author:   Raider

Google
 
Web ureader.com


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