I built a short link system so I can use something like "http://www.experts-exchange.com?100001
" as opposed to "http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/askQuestion.jsp
", I have my parsing code in my Application.CFM, so I pick up if an ID was passed and check to see if it's a valid short link. I can redirect fine on a normal browser, and I need to be able to do this in WML. For some reason, when using my method on a handset I get a "500 Internal Server Error", damn WAP browsers and their lack of error handling :(
This is all I do if I find a valid short link
<cfif GetLink.RecordCount EQ 0>
<cflocation url="invalid.cfm" addtoken="NO">
<cflocation url="#GetLink.URL#" addtoken="NO">
Anyone know any solid solutions for redirecting on a WAP browser? I've read conflicting articles about cflocation working and not working, and about it requiring an absolute path and others saying it needs a relative path for it to work in WML. Is there a tried and tested method I can use to redirect a WAP browser to a WML page from my Application.CFM?