It is important to know the behaviour of an asp page when multiple scripting languages are used in server side scripting. In an ASP page employing Jscriptand VBscript, code in Jscript block is executed first then followed by code in asptags and vbscript block respectively.
The following example makes the above concept clear:
Create an ASP page called test.asp
<script language = "vbscript" runat ="server"> Response.write(" vbscriptblock <br>") </script>
<% Response.write "Inside asp tag <br>" %>
<script language = "jscript" runat = "server"> Response.write("jscriptblock<br>") </script>
Can you guess what the output will be?
output of test.asp -------------------- JscriptBlock
Inside asp tag
vbscriptblock
From the above example it is clear that first the jscript block is executed followedby code in asp tag and vbscript block. Just a small fact that you as a developer should know about.
Gopikrishna is a specialist in ASP, MTS ,JavaScript , Vbscript, Windows DNA and VBCom . He is currently associated with Silverline Technologies Limited Chennai.
Developers who don't want to spend a lot of money on SQL Server and who want a database that's more robust than Access may find MySQL to be a pleasant alternative. This introductory article covers the bare essentials for getting MySQL installed and running in the Win32 environment. [Read This Article][Top]
There is never a guarantee of project success when endeavoring to build a sophisticated application. However, there are established steps to follow that will ensure a clear, concise scope, support for the team involved, and a solid opportunity for successful deployment. [Read This Article][Top]
If your SQL Server is exposed to the Internet, then hackers are probing it. This article shows how to secure a SQL Server database that's being used with a Web application [Read This Article][Top]
Feel intimidated by .NET? This article by Rob Chartier is designed to ease any level VBScripter (ASP) into .NET by clarifying some OOP concepts. [Read This Article][Top]
A few members of the 15 Seconds discussion list talk about the proper way to use methods in order to prevent ADO object errors. [Read This Article][Top]
Solomon Shaffer explores the life cycle of an ASP.NET page from initialization to unloading. He also explains the various methods to override ASP.NET server-side events. [Read This Article][Top]
Rob Chartier creates a simple portable and reusable address book in .NET to demonstrate the power of N-tier application architecture. Complete source code included! [Read This Article][Top]
Learn about N-tier application architecture and realize that developing with multiple layers produces a flexible and reusable application for distribution to any number of client interfaces. [Read This Article][Top]
Learn about N-tier application architecture and realize that developing with multiple layers produces a flexible and reusable application for distribution to any number of client interfaces. [Read This Article][Top]
Mailing List Want to receive email when the next article is published? Just Click Here to sign up.