Monday, October 31, 2011

Upcoming Articles

In coming few days we are going to Post articles to discuss all the practical steps needed to build an e-commerce site. Reveals how you can build a fully functional e-commerce site, which will support selling over the Internet, by following the development of an example Web site for a small business.

In the coming few days we will provide articles with excellent demonstration of full-featured e-commerce Web-site construction with the Microsoft suite of development tools.

Topics we are planning to cover in this are
COM and e-commerce object models, product catalog, shopping basket, checkout, order processing, promotions, certificates, pipeline construction, transaction management, deployment, e-mail integration, discussion groups, XML integration, and marketing tips.

So please keep visiting this blog

Sunday, October 30, 2011

Calculate time taken in generating Page in the footer.

Sometime we want to show total time taken by the page to process in the footer. As shown in the below image.

Here is a simple code which helps you to calculate the time taken by ASP page to get generated.

Dim dblStartTime 'Holds the start time for the page process%>

dblStartTime = Timer() 'The Timer function returns the number of seconds, and milliseconds, since 12:00 AM.

Response.Write("<br /><span class=""text"" style=""font-size:10px"">Copyright &copy;2001-2011 <BR><a href="""" target=""_blank"">NEBULA TECHNOLOGIES (INDIA) PVT LTD.</a></span>")

Response.Write ("<span ><br /><br /> This page was generated in" & " " & FormatNumber(Timer() - dblStartTime, 3) & " " seconds "</span>")

Enhanced by Zemanta