C# Class Satrabel.HttpModules.UrlRewriterLogging

Afficher le fichier Open project: sachatrauwaen/OpenUrlRewriter Class Usage Examples

Méthodes publiques

Méthode Description
OnEndRequest ( object s, EventArgs e ) : void
OnPreRequestHandlerExecute ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
HttpTransfer ( string url, HttpContext currentContext ) : void
ManageRequest ( System page, int PortalId, int TabId ) : void
OnError ( object source, EventArgs e ) : void
OnPageInit ( object sender, EventArgs e ) : void
OnPageLoad ( object sender, EventArgs e ) : void
getQSParams ( string newLanguage, bool isLocalized ) : string[]

getQSParams builds up a new querystring. This is necessary in order to prep for navigateUrl. we don't ever want a tabid, a ctl and a language parameter in the qs also, the portalid param is not allowed when the tab is a supertab (because NavigateUrl adds the portalId param to the qs)

newUrl ( string newLanguage, bool &CanViewPage ) : string

newUrl returns the new URL based on the new language. Basically it is just a call to NavigateUrl, with stripped qs parameters

Method Details

OnEndRequest() public méthode

public OnEndRequest ( object s, EventArgs e ) : void
s object
e System.EventArgs
Résultat void

OnPreRequestHandlerExecute() public méthode

public OnPreRequestHandlerExecute ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void