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: 15 Jun 2005 07:23:16 -0700,    group: microsoft.public.inetsdk.programming.urlmonikers        back       


frame communication in Asynchronous pluggable protocol   
Hi.

I have a problem with the Javascript when a html containing frameset is
invoked through Pluggable protocol. with JavaScript i am communicating
with another frame by calling a JS function lies in another frame.
unfortunately i always get permission denied error even though my
accessing host and protocol are same. is anyone faced similar problem
with pluggable protocol?

The same html page and javascript communication with frames works with
HTTP protocol

Thank you
Raghav
date: 15 Jun 2005 07:23:16 -0700   author:   unknown

Re: frame communication in Asynchronous pluggable protocol   
wrote in message
news:1118845396.875421.252690@f14g2000cwb.googlegroups.com
> I have a problem with the Javascript when a html containing frameset
> is invoked through Pluggable protocol. with JavaScript i am
> communicating with another frame by calling a JS function lies in
> another frame. unfortunately i always get permission denied error
> even though my accessing host and protocol are same. is anyone faced
> similar problem with pluggable protocol?
>
> The same html page and javascript communication with frames works with
> HTTP protocol

Do you implement IInternetProtocolInfo on your APP? If so, how? Be 
particularly careful with ParseUrl using PARSE_SECURITY_URL and 
PARSE_SECURITY_DOMAIN options.
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Wed, 15 Jun 2005 10:32:13 -0400   author:   Igor Tandetnik

Re: frame communication in Asynchronous pluggable protocol   
No i haven't implemented IInternetProtocolInfo interface? can you
provide me with some example please where you use this
PARSE_SECURITY_URL and PARSE_SECURITY_DOMAIN options?

Regards
Raghav
date: 16 Jun 2005 00:41:57 -0700   author:   Raghavulu

Re: frame communication in Asynchronous pluggable protocol   
i honored the IInternetProtocolInfo interface now and implemented the
parseUrl method by considering only the parse_security_url flag. seems
parse_security_domain is optional and now there are no permission
denied errors between frames to communicate to each other.

thanks igor

ciao
raghav
date: 21 Jun 2005 02:19:24 -0700   author:   Raghavulu

Re: frame communication in Asynchronous pluggable protocol   
Dear Raghavalu!

I had the same problem. You must do something in SsPlugProt::ParseUrl,
if the ParseAction == PARSE_SECURITY_URL.
My simple solution is:
    switch (idParseAction) {
    case PARSE_SECURITY_URL:
      // fill resultbuffer and return S_OK
      swprintf(pwzResult, L"%s", L"prot:");
      *pcchResult=wcslen(pwzResult)+2;
      return S_OK;
    default:
      return E_NOTIMPL;
    } // switch


Plese look here:
http://groups.google.de/group/microsoft.public.inetsdk.programming.urlmonikers/browse_frm/thread/95082403bbecec2e/bb440a062ec25210?hl=de&lr=&ie=UTF-8&oe=UTF-8&rnum=4&prev=/groups%3Fq%3Dframes%2Bpluggable%2Bprotocols%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3DOHWCM9o4%2524GA.245%2540cppssbbsa05%26rnum%3D4#bb440a062ec25210

Best Regards,
 Stefan


Raghavulu schrieb:
> i honored the IInternetProtocolInfo interface now and implemented the
> parseUrl method by considering only the parse_security_url flag. seems
> parse_security_domain is optional and now there are no permission
> denied errors between frames to communicate to each other.
> 
> thanks igor
> 
> ciao
> raghav
date: 27 Jun 2005 06:09:07 -0700   author:   nikolausi

Google
 
Web ureader.com


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