两个会话值在经典asp中传递到会话中的另一个页面

时间:2016-03-31 11:23:23

标签: session asp-classic

两个会话值传递到会话中的另一个页面。     我有2个会话值,如abcdabcd,asasas

strHTML = strHTML & "<td style='width:220px'><b>" &  replace(aParameters(1),"£","&pound;") &  "</b></td>"& vbcrlf

keyArrays=replace(aParameters(1),"£","&pound;").value+","
            Session("netrtt")=  Split(keyArrays,",")  
            For counter = 0 To UBound(Session("netrtt"))  
    Response.Write Session("netrtt")(`enter code here`counter) & ","
Next 
Session("amount")=totalcost
strHTML = strHTML & "<tr><td width='100%' colspan='4' align='right'>"

strHTML = strHTML & "<b>Total Cost4 :  </b></td>"

if work="show" then
strHTML = strHTML & "<td  ><b> "
strHTML = strHTML & cardcurrency1 &FormatNumber(totalCost,2)  &"</b></td>"
strHTML = strHTML & "<td ></td>"
else
strHTML = strHTML & "<td ><b>"& cardcurrency1 & totalCost &"</b></td>"
end if
'strHTML = strHTML & "</table>"
strHTML = strHTML & "</tr></form>"
'strHTML = strHTML & "<img border=0 src='worldpay logos/secure_payments.gif' >"
     'strHTML = strHTML & "</td><td><center> <img border=1 src=images/"& flagurl &"><br>"
    strHTML = strHTML & "<br></td>" 
    strHTML = strHTML & "</tr></table>"

我的下一页传递会话值,但是我有错误

<%=(session("netrtt"))%>

请帮我解决这个问题。

0 个答案:

没有答案