Results 1 to 2 of 2

Thread: <!-- #INCLUDE FILE="site.asp" -->

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    Can this statement <!-- #INCLUDE FILE="setcookie.asp" -->
    be included within the VB script code ...you know the <% and %> or does it have to go at the top?

  2. #2
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810

    Thumbs up Yes, it does go at the top.

    For example, on your ASP pages type the following at the top:
    Code:
    <%@ Language=VBScript %>
    <!-- #INCLUDE FILE="setcookie.asp" -->
    <%	
        '// This is my VbScript //
    %>
    Note: Don't put '<%@ Language=VBScript %>' at the top of the setcookie.asp, as only one @ is allowed per ASP page.
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width