![]() |
VBScript and ASP
ASP uses moreorless VBscript to process data.
Since, IIS Servers are available, the scripts are executed without problems. Whereas, the client side may have a browser that does not support VBScript like Mozilla. Now, for a person who has learnt VB and ASP very well will have to learn a different scripting language....Does it sound good? I think there must be an alternative to it...Please let me know. Or are there programs that are written to identify vbscript and convert them to javascript (quite stupid..I agree...but..just a thougt!)??? |
What exactly are you speaking about? The VB code that is used by IIS when running an ASP script is server-side only. It matters not one wit what the client browser is. The only thing that matters is the scripting language used within the actual HTML (as it is seen on the client's side)
For instance: http://www.evolutionsoftwarellc.com/scs/index.asp navigate to my website using IE, Netscape, and Firefox (or anyother browser for that matter, on any machine) and it looks and works the same. Why? because I only use JavaScript on the client side, but I use ASP (read Visual Basic) on the server side. So unless you have foolishly added an html tag that says: :
<script langauge="VBScript">instead of :
<script langauge="JavaScript">then you have nothing to be concerned about. Chi |
@ChiHappens: i believe i heard some time ago that asp generates vbscript in the webpages it passes to the client, what makes it incompatible with other browsers then IE. not sure though.
|
You can certainly use server side script to "generate" script on the browser. It would certainly be foolhardy to do so with something the browser can't deal with. The first thing, though, is to get a true grasp of the client/server relationship. Just because you see "mixed code" on a page doesn't mean it's interactive. It's a mixed method of preparing material on the server. Then it's shipped to the browser to render, and the server is done. Out of the picture until a new request arrives. On vacation. Home playing with mama. Not watching the client's mouse clicks, for sure.
|
| All times are GMT -5. The time now is 4:20 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC