views:

45

answers:

1

Hi

<%

''# Stage 1
datas=Server.URLencode("<PaginationData currentPage=""1"" totalPages=""9""/>")

response.write "Encode = " datas &"</br></br>"

''# Stage 2
response.write "Decode = " ''# How i again decode my encode data?

%>

In the "Stage 1" , i encode my xml data

In the "Stage 2", How i decode the "Stage 1" Encode data?

hoping your support

+1  A: 

Asp Classic does not supply a Decode function. You are supposed to retain the decoded bits to use it later.

In your sample:

<%

url="<PaginationData currentPage=""1"" totalPages=""9""/>"

''//Stage 1
datas=Server.URLencode(url)

response.write "Encode = " & datas & "<br /><br />"

''//Stage 2
response.write "Decode = " + url

%>
Eduardo Molteni