Try:
Store the timestamp in a variable and then:
http://blah.blah?selDate=#
On the receiving template use URLDecode() to retrieve the value.
URLEncodedFormat() and it's sister tag URLDecode() are used to convert special characters (non alphanumeric) into their hexadecimal equivalent escape sequence. As you will of undoubtedly seen, when using this conversion a space is represented as %20 for example.
The server is obviously configured not to allow special URL characters, if the above doesn't work, post again here and let me know, there might be other ways around this. What about using Encrypt() around the variable which will encrypt (suprisingly!) the string according to a key which you can specify. Note however that when doing this, both templates must contain the key in a variable in order to Decrypt()?
Cheers,
Martin.
PS. Anand, the server is configured not to allow HTML characters of which a single quote might be considered to be. Thats why he's getting the error, it works fine on my machine too ;)
Main Topics
Browse All Topics





by: anandkpPosted on 2002-10-18 at 02:47:49ID: 7343880
Hi there,
SiteBuilde r/akp.cfm? akp={ts%20 '2002-01-0 1%2000:00: 00'}
I dont think its bcos of the singel quotes
i have a page with the following code :
<!--- Anand K Patel --->
<cfoutput>
#akp#
</cfoutput>
& i call this page on my local machine with the following url : http://192.168.3.167/caro/
to ur surprise u'll see that - it works perfectly
try it & let em know ...
I think the problem with ur code is somewhere else & not as mentioend above ...
K'Rgds
Anand