Shahzad,

You probably need to URL encode the variable "questions", but I just notice
that you're passing "Questions" as BodyText on your CFLocation and trying to
display BodyContent.

Where are attributes.question1 to attributes.questionX coming from?  Are
they form fields?
If they are, why not just go straight to your Fuseaction
SubmitQuestionsForSubcategory and generate this content in there rather than
adding this additional step and trusting your app to the stability of
cflocation?

Hope this helps

Regards

Stephen

----- Original Message -----
From: "Shahzad.Butt" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 10:27 AM
Subject: CFSaveContent Variable


> Hi all
>
> Is there any way to pass variable used in CFSavecontent (Not using FORM)
> but using CFLocation. Following is code how can I make it working?
>
>
>  <CFSavecontent variable="Questions">
>  <cfoutput>
>   User Name: #CGI.AUTH_USER#<br>
>   Browser and Windows: #CGI.HTTP_USER_AGENT#<br>
>   Remote Address: #CGI.REMOTE_ADDR#
>  </cfoutput><br>
>  <CFLoop From="1" To="#Attributes.NumberOfQuestionsAsked#"
> Index="Counter">
>   <cfoutput>#Evaluate("Attributes.Question#Counter#")#:
>   #Evaluate("Attributes.Question#Counter#")#<br></cfoutput>
>  </cfloop>
>  </CFSavecontent>
>
> <CFLocation
> URL="#self#?Fuseaction=#Attributes.XFA.SubmitQuestionsForSubcategory#
> &UserID=#Attributes.UserID#&ContactType=#Attributes.ContactType#&Contact
> Phone=#Attributes.ContactPhone#
> &ContactEmail=#ContactEmail#&CaseDescription=#Attributes.CaseDescription
> #&SubCategoryID=#Attributes.SubCategoryID#&BodyText=#Questions#">
>
> It gives blank page if i display #Attributes.BodyContent# in next
> page......


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to