Why does some coding only work as an ASP? (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


Ziggyzaz -> Why does some coding only work as an ASP? (6/12/2003 12:56:04)

It seems to me that all html coding should work when saved as html. Why isn' t that true?




bobby -> RE: Why does some coding only work as an ASP? (6/12/2003 13:47:11)

It does. HTML is HTML... a set of markup tags.

ASP scripting on the other hand is a scripting language that requires a server to process some code prior to everything else...

Based on your subject I' d assume you' re wondering why HTML that is placed inside ASP scripting doesn' t work on an HTML page?

ASP code needs to be on an .asp page so the server knows to parse the page for scripting before it renders the result to the browser...

Anything in between <% and %> won' t be parsed by the server unless the page has an .asp extension...

Do you have an example of what you' re talking about?




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875