|
-
Oct 7th, 2002, 05:43 AM
#1
Thread Starter
Fanatic Member
Explanation needed: RUNAT="server"
Hi,
I have used htm pages that have script blocks in them. I know that these run on the client side. As far as I know, htm files are not processed by IIS at all and so no server side script can be run from within these pages (right?).
I have just seen that VI6 allows a script block within an htm page with the RUNAT=server property. Does this really make the script run on the server? Can I call that function from the client side to run on the server at any time?
Can anyone explain what this is for?
Thanks
-
Oct 7th, 2002, 08:56 AM
#2
<script runat='server'>
is nothing different than
<%
%>
for asp
it is just another way to do it and provides no special abilities.
"Can I call that function from the client side to run on the server at any time?
"
No
-
Oct 7th, 2002, 09:17 PM
#3
Black Cat
As Cander says, <% %> is merely a short way of writing <script runat="server" language="????Script">, replacing ????Script with whatever you have set for the default scripting language.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|