none
Search Results Page Retrieve referrer RRS feed

  • Question

  • I was wondering if it was possible to retrieve either the referrer or a hidden field value in my search results master page?
    I have variations enabled and when I do a search on my french site it takes me to the site collection's search results page which defaults to the english banner
    What I would like to do is check to see from which variation I came from and then change the top banner in my search results masterpage reflect the language that they came from

    The search box uses the following code

    <div id="headerSearch">
    	<SPSWC:SearchBoxEx  
    	id="SearchBox1" 
    	DropDownMode="HideScopeDD"
    	RegisterStyles="false" 
    	TextBeforeDropDown="" 
    	TextBeforeTextBox="" 
    	TextBoxWidth="155"
    	UseSiteDefaults="true" 
    	SuppressWebPartChrome="true" 
    	runat="server"  
    	WebPart="true"
    	 __WebPartId="{F845680F-0CC9-435C-8A32-33DCCCBFBF93}"/>
    	 <input type="text" id="txtLang" name="txtLang" value="EN"/>
    </div>
    
    Or somehow tacking on a querystring parameter would be peachy!
    • Edited by O Town Thursday, June 18, 2009 11:55 PM
    Thursday, June 18, 2009 11:39 PM