navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

vbscript in html or asp - is one more efficient?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Community >> Computer Software and Hardware issues >> vbscript in html or asp - is one more efficient?
Page: [1]
 
connipu

 

Posts: 17
Joined: 10/18/2005
Status: offline

 
vbscript in html or asp - is one more efficient? - 10/18/2005 15:42:23   
Using VBSCRIPT and FrontPage, I created a website consisting of both html and asp pages. However, after reading several articles, I decided to convert one of the html pages to an asp page using option explicit. I tested the page and can not see a difference in terms of performance or results (runs a database query) between the html and asp page. Is one method preferred over the other? Also, various examples, show the vbscript language declaration both ways (see below). Does anyone know what the difference is?
<% @Language = vbscript %> or <SCRIPT LANGUAGE="VBScript">
rdouglass

 

Posts: 9186
From: Biddeford, ME USA
Status: online

 
RE: vbscript in html or asp - is one more efficient? - 10/18/2005 16:02:36   
quote:

I decided to convert one of the html pages to an asp page using option explicit. I tested the page and can not see a difference in terms of performance or results (runs a database query) between the html and asp page.


Hi and Welcome to Outfront

AFAIK you can't access a database without some scripting language (ASP, PHP, etc.) except maybe with JavaScript.

As to the performance, ASP does run slower (altho you won't notice except for large pages) because it needs to be parsed by the script engine first before being sent to the browser.

quote:

<% @Language = vbscript %> or <SCRIPT LANGUAGE="VBScript">


IIRC <% @Language = vbscript %> will always run at the server whereas the second one you can tell it to run at the client or server.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to connipu)
Page:   [1]

All Forums >> Community >> Computer Software and Hardware issues >> vbscript in html or asp - is one more efficient?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts