WAP Page for downloading data | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through July 14, 2004 ⬆ |
◄ ► |
Author | Message | |||
Dhiram New member Username: Morpheus Post Number: 9 Registered: 04-2004 |
I need to create a wap page which will be send as a wap push. Howeer on going to the url the ringtone etc should be downloaded automatically. I have manged to create this <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="card1" title="Download"> <p> <a href="http://abc.com/xyz.md">DOWNLOAD</a> </p> </card> </wml> However in this case a download now link is displayed. I dont want that instead the file should be automatically downloaded. My current site is on .net framewrk so can the wap page be a .aspx page. Also how can I prevent users from distributing the url and downloading for free. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2604 Registered: 10-2002 |
Most phones will accept a push that points right to that data. But, for the widest compatibility, you are best off sending a push that points to a WML page which includes a download link. You could experiment with using onenterforward. But if you're just trying to hide the link ... I don't think any of this is a good solution. You need to use dynamic links that expire, so that the link can't be forwarded to others. You need to either do this dynamically with logic in your own scripts. Or you can use the "Multimedia WAP Push" function in NowSMS, where there is a setting to expire links that are created dynamically through this function: http://support.nowsms.com/discus/messages/132/2197.html | |||
Lars Nielsen, MobileNation ApS - Denmark New member Username: Larsmservice Post Number: 27 Registered: 10-2003 |
Basically, you should always link to a wml page, and not the content directly. When doing this, you can sometimes also download bigger files than if you linked directly to the content. That was a tip given to me by Bryce back when the Nokia 7210 was the hippest thing ;) Another advantage is that you can use the wml page to sell more content etc. | |||
Lars Nielsen, MobileNation ApS - Denmark New member Username: Larsmservice Post Number: 30 Registered: 10-2003 |
Be carefull using the: onenterforward We made a portal for Orange and they wanted to use onenterforward so that there is a redirect from the wml page to the content. But some Sonyericssons did not take it very well... Eg. Earlier versions of the T610 could not handle this. The best way will allways be to make a link on a wml page. |