On 4/23/07, Antonio Ruiz Martínez <[EMAIL PROTECTED]> wrote: > I would like to know how to manage the sessions with a specific server. > Has my handler to control the sessions? or Is there any facility to > support this? > Not sure, doubt that.
> In the protocol handler I need to get some information from the content > of the web page, that is, I need to recover the value of some tags and > some variables. Is it possible? How? > You can add a script to your pages that will pass these values as part of the URI, i.e. yourprotocol://something?param1=value1¶m2=value2 > Finally, after making some tasks, my handler gets an url. > How can I tell firefox to show the content of this page as a result of > the invokation of my handler. > A protocol handler returns the content to display by returning an nsIChannel. You should be able to create a channel for the URI you calculated as usual (via nsIIOService) and return that. Nickolay _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
