A Conversation for The H2G2 Programmers' Corner
ASP decode
Pastey Started conversation Oct 16, 2002
Okay, here's one for you guys.
I've got a string of data recieved from a form that is url encoded. I need to decode this using asp and can't seem to figure out how.
I've tried a few of the functions on the 'net but they leave things like =20 instead of new lines and don't touch the C escape slashes amongst other things.
Ideas?
ASP decode
Pastey Posted Oct 16, 2002
That's what I thought, but you need to use it like Server.URLDecode(string) and I get an error message saying that it's not supported.
I've got this sinking feeling that the version of asp on the server is a tad old, and the URLDecode function is .Net
ASP decode
MaW Posted Oct 16, 2002
I'm pretty sure I've used URLDecode of some sort on pre-.NET versions of ASP. I haven't got a clue how I invoked it though, I'm not really an ASP developer, I just did it 'cos I got paid.
ASP decode
Pastey Posted Oct 17, 2002
Thankfully I've never had to learn Java. Couldn't actually find a use for it in what I was doing.
I'm starting to like asp.net, not sure yet what I actually think of it, but at least it's understandable.
ASP decode
MaW Posted Oct 17, 2002
Makes a nice change from JSP. You really don't want to have to learn those, trust me.
ASP decode
Pastey Posted Oct 17, 2002
Well, I'm currently playing with ASP.Nets' database connection abilities, and all I can say is they are (that's fast)
ASP decode
MaW Posted Oct 17, 2002
Wow, makes a change. The stuff I had to use from VBScript when I was using pre-NET ASP was awful.
ASP decode
Pastey Posted Oct 17, 2002
Don't get me wrong, it's a heck of a lot more complicated than a similar page in php, and apparantly asp.net is riddled with bugs, but once it works, it's very fast.
Key: Complain about this post
ASP decode
More Conversations for The H2G2 Programmers' Corner
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."