home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / ClientScript_VBScript.asp < prev    next >
Text File  |  1997-10-25  |  723b  |  32 lines

  1. <% @Language=VBScript     %>
  2. <% Option Explicit        %>
  3.  
  4.  
  5. <!-- Define Client Side Scripting Function to Display to User         -->
  6. <!-- Note that server-side scripting is being used to dynamically     -->
  7. <!-- construct the return message.                                    -->
  8.  
  9. <Script Language=VBScript>
  10.     Sub Doit()
  11.         msgbox "Your ASP SessionID is:" & <%=Session.SessionID %>
  12.     End Sub
  13. </Script>
  14.  
  15.  
  16. <HTML>
  17.     <HEAD>
  18.         <TITLE>Client Side Scripting</TITLE>
  19.     </HEAD>
  20.  
  21.     <BODY bgcolor="white" topmargin="10" leftmargin="10">
  22.         
  23.         <!-- Display Header -->
  24.  
  25.         <font size="4" face="Arial, Helvetica">
  26.         <b>Client Side Scripting</b></font><p>   
  27.  
  28.         <Input Type=Button Value="Click Here" OnClick=Doit>
  29.         
  30.     </BODY>
  31. </HTML>
  32.