Problem sending large concatenated SMS

Problem sending large concatenated SMS SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through January 22, 2009 » Problem sending large concatenated SMS « Previous || Next »
Author Message
Martyn Greenslade
New member
Username: Greenslademw

Post Number: 1
Registered: 12-2008
Posted on Monday, December 01, 2008 - 03:43 pm:   

Hello
We are running NowSMS on windows server 2003
We are trying to send 15 page concatenated SMS messages for mobile device testing. Prior to licence purchase we were restricted to only 12 pages but last Friday I activated the product and could send 15 page SMS.
However today NowSMS would not count the characters used and I had to reinstall the product. After doing this and activating the licence again the character count works but I am again restricted to 12 page concatenated SMS.
I must be able to send SMS of 15 pages and over so help is now required.

BR

Martyn
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 281
Registered: 08-2008
Posted on Monday, December 01, 2008 - 04:50 pm:   

Hi Martyn,

Are you using Internet Explorer?

The "Send Text Message" web form is configured to perform an HTTP GET. So when you the "Submit" button, the web browser builds an HTTP GET URL and sends it to the NowSMS server.

Internet Explorer has a limit of around 2KB for the length of an HTTP GET URL, and if a form tries to submit a longer URL, then IE displays an error.

Firefox works a little better, but the browser itself crashes somewhere after 2500 characters in the form, even before you press submit. (It's probably the Javascript that counts characters that is triggering the problem here, as there may be some size limits on the size of data that the script will support.)

In any event, there is a very simple resolution to this problem.

Edit the "Send Text Message.htm" file in the HTML subdirectory of the NowSMS installation with a simple text editor such as Windows Notepad.

Look for this line:

<form method=Get enctype="application/x-www-form-urlencoded" onsubmit="clearTextBoxCounter()">

Change "Get" to "POST".

Save the updated file, and reload the page in your browser.

The NowSMS server will accept HTTP requests using either HTTP GET or POST. IE doesn't have any problem with large HTTP POST transactions.

--
Des
NowSMS Support
Martyn Greenslade
New member
Username: Greenslademw

Post Number: 2
Registered: 12-2008
Posted on Tuesday, December 02, 2008 - 08:53 am:   

Hello Des

I carried out the change you suggested and it is now working correctly. On IE we are still not seeing the character count but it is working with Firefox browser.

Thanks

Martyn
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 284
Registered: 08-2008
Posted on Tuesday, December 02, 2008 - 02:44 pm:   

Hi Martyn,

I don't understand the issue with the "character count" not working properly.

Sometimes it works, sometimes it doesn't? Is there some sort of pattern?

The character counter is simply JavaScript on the web page which is configured to execute in the browser every time there is a change in the text field.

So if you have Javascript disabled, it won't display. (The address book functions would also not be available.)

The character counter doesn't effect any core functionality ... it's just a help to show you how long the message is that you are inputing.

--
Des
NowSMS Support

Login Login / Register Logout Logout Search Last 30 Days Topics Topics