Redirect after SMS Done/Failed | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through September 15, 2003 ⬆ |
◄ ► |
Author | Message | |||
Steven Quek |
I have submit the following URL via using ASP http://203.118.30.197:8800/?WAPURL=203.118.30.197%5CWapDL.asp%3FMobile%3D9488226 0%26Type%3DGame%26ItemID%3D2&PhoneNumber=94882260&Sender=8811&Text=MobilePortal% 20Code:10002&ContinueURL=http:\202.118.30.197\MobilePortal\Page_OK.asp Its does not redirect to the URL as specified. Please help | |||
Bryce Norwood - NowSMS Support |
The "ContinueURL" parameter doesn't perform a redirect. The "Message Submitted" page is displayed, and the "Continue" link points to the URL specified in the "ContinueURL" parameter. I just tried this here with your URL, but substituting in the IP for my server, and it worked as expected. If you wanted to bypass the "Message Submitted" page, you would need to edit "SUBMITOK.HTM", which is located in the HTML subdirectory of the NowSMS installation. You could simply edit SUBMITOK.HTM, and add the following to the "HEAD" section of its HTML: <META HTTP-EQUIV=REFRESH CONTENT="0;URL=@@ContinueURL@@"> That would cause it to act more like a redirect. -bn | |||
Steven Quek |
How can i tell whether NOWSMS SMSGw is working or the parameter is valid ? My intention is to having different pages for successful and unsuccessful. | |||
Bryce Norwood - NowSMS Support |
Steven, If the parameter was bad, or there was an error entering the message into NowSMS' queue, then an error message would be displayed instead of this HTML page. -bn |