"Charles Gamble" wrote in message
news:e5*************@tk2msftngp13.phx.gbl...
: Thanks for the interest Rob.
: Here is the form section of The calling file that is posting the
: request:
: <form id=RefreshPageParams name=RefreshPageParams action="Jobs.asp"
: method = POST>
: <INPUT type="hidden" value="" id=DefnName name=DefnName>
: <INPUT type="hidden" value="" id=SearchXML name=SearchXML>
: <INPUT type="hidden" value="" id=PreviousJobSearchXML
: name=PreviousJobSearchXML>
: <INPUT type="hidden" value="" id=PreviousJobMetaSearchXML
: name=PreviousJobMetaSearchXML>
: <INPUT type="hidden" value="" id=SearchType name=SearchType>
: <INPUT type="hidden" value="" id=awfsessionid name=awfsessionid>
: <INPUT type="hidden" value="" id=CreationType name=CreationType>
: <INPUT type="hidden" value="" id=isMetaSearch name=isMetaSearch>
: <INPUT type="hidden" value="" id=PreviousJobSearchType
: name=PreviousJobSearchType>
:
: </form>
:
: Here is the code that submits the form:
: //update our parameters form before we refresh
: RefreshPageParams.DefnName.value = sDefnName;
: RefreshPageParams.SearchXML.value = sTheSearchXML;
: RefreshPageParams.PreviousJobSearchXML.value = sPreviousSearchXML;
: RefreshPageParams.PreviousJobMetaSearchXML.value =
: sPreviousMetaSearchXML;
: RefreshPageParams.SearchType.value = SearchTypeIndicator;
: RefreshPageParams.awfsessionid.value = sSessionID;
: RefreshPageParams.CreationType.value ="<%=jobsearch%>";
: RefreshPageParams.PreviousJobSearchType.value = sPrevJobSearchType;
: RefreshPageParams.isMetaSearch.value = isMetaSearch;
:
:
: RefreshPageParams.submit();
:
: Regarding the receiving page, here is the code that receives the string
: that unfortuatley contains a carriage return:
: SearchXML = Request("SearchXML")
You using XML but your pages are not well formed.
Have you tested the length of the value before and after posting?
Shouldn't you be using:
SearchXML = Request.Form("SearchXML")
What language is your RefreshPageParams written in?
Do you zero out variables before [re]use?
What is the value of:
sTheSearchXML
before it is added to:
RefreshPageParams.SearchXML.value
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library -
http://msdn.microsoft.com/library/default.asp