Monthly Archives: April 2010

Website Down?? – Try APlusMonitoring.com

Is your website down? Are your clients complaining about your website being not available during peak business hours? Did you miss an important demonstration ? All this may cost you heavy losses or earn bad reputation, why taking a chance, try APlusMonitoring.

www.aplusmonitoring.com

APlusMonitoring is an eco friendly held company. Their goal is to help companies and individual maximize profitability of their web applications by ensuring 24/7 uptime and performance integrity.

It provides multiple green monitoring servers around the world, that run protocol based tests on your website at specific intervals every (3, 5, 15, 30 ,60 minutes) 24 hours per day, 7 days per week, 365 days per year to ensure that your customers and users can reach your website.

I personally am using this monitoring service,  it immediately alerts me via sms or email whenever my website goes down or is unreachable so that I can take quick action and stop any further loss 🙂

APlus Monitoring has given me total assurance that my website is available %100 of the time.

Flash Alert Box – Change Size

Hello everyone,

Today I am here with solution for another interesting challenge that I faced while I was working on a flash website. The requirement was to show a long text message in the alert box in the flash site but the problem was changing the size of the alert box.

After a long time of searching finally got the solution.

Here is a small excerpt from my script.

import mx.controls.Alert;

Q = Alert.show(“Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.”,”Title Text”, Alert.OK , null, onSubmit);

Q.setSize(400,260);

Hope this helps… happy reading 😛

Post Data from SWF to ASPX file

Hi all,

Few days back I was working on an application where i needed to post shopping cart data from swf to aspx page.

Sample codes are available over the internet to post data from swf but you never get “ready to use code”  all the time.

I was trying to post data in XML format and there was a catch in case of aspx files that i did not notice.

I was getting “HTTP Error 500 Internal server error” every time my swf posted data to aspx file. After some research I got the reason.

I missed ValidateRequest=”false” on the Page directive of the aspx page i was trying to POST data to, finally i succeeded 🙂

Here is an excerpt from my code

public function sendOrder(items:String):Void

{

var reply_lv = new LoadVars();

reply_lv.replyTo =””;

var send_lv = new LoadVars();

send_lv.xmlData = items;

send_lv.sendAndLoad(“http://www.yourdomain.com/yourpage/Checkout.aspx”, reply_lv, “POST”);

reply_lv.onLoad = function(Sucess){

if(Sucess)

{

getURL(reply_lv.replyTo);

}

else

{

Alert.show(“Sorry! Failed to send your order this time. Please try again.”);

}

}

}