Redirect after SMS Done/Failed Search Search

Now SMS/MMS Gateway » Now SMS/MMS Gateway - SMS Issues (Product Support Only) » Archive through September 15, 2003 » Redirect after SMS Done/Failed « Previous Next »

Author Message
Steven Quek
Posted on Thursday, September 11, 2003 - 09:28 am:   

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
Posted on Saturday, September 13, 2003 - 03:35 am:   

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
Posted on Saturday, September 13, 2003 - 04:27 pm:   

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
Posted on Monday, September 15, 2003 - 03:21 pm:   

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

Login Login / Register Search Search Tree View Tree View   Home Home
Logout Logout Topics Topics Search Last 1|3|7 Days   Previous Page Previous Next Next Page

© Copyright 2002-2010 by NowMobile.com Limited
Bourne House, 475 Godstone Road, Whyteleafe, CR3 0BL, UK
UK Tel: +44.1883.621100
email : nowsms@nowsms.com