I have an InfoPath form with codebehind which is going to be hosted in an XmlFormView control on a page in a SharePoint 2007 site.
I will not be able to use codebehind on the page which is hosting the XmlFormView.
Is there any way to access the current HttpContext from the codebehind of the InfoPath form?
Or is there any way to obtain the parameters in the url of the page from within the codebehind of the InfoPath form?