Help pls- quick one

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eric Wang

    Help pls- quick one

    I program with ASP VBScript. Would like to know its MIME type so I can have
    my own extension like what others do.

    Thanks!



  • Jonathan Chong

    #2
    Re: Help pls- quick one

    By default it will be "text/html". Unless you change it do something else,
    such as XML like this:

    <%
    Response.Conten tType = "text/xml"
    %>

    "Eric Wang" <ericwang90@gma il.com> wrote in message
    news:eupQGmOsEH A.3320@TK2MSFTN GP15.phx.gbl...[color=blue]
    > I program with ASP VBScript. Would like to know its MIME type so I can[/color]
    have[color=blue]
    > my own extension like what others do.
    >
    > Thanks!
    >
    >
    >[/color]


    Comment

    • Eric Wang

      #3
      Re: Help pls- quick one

      Does using it as text/html process its ASP Codes in the script?



      "Jonathan Chong" <jonathan@3exp. com> wrote in message
      news:u94qnzOsEH A.1308@tk2msftn gp13.phx.gbl...[color=blue]
      > By default it will be "text/html". Unless you change it do something else,
      > such as XML like this:
      >
      > <%
      > Response.Conten tType = "text/xml"
      > %>
      >
      > "Eric Wang" <ericwang90@gma il.com> wrote in message
      > news:eupQGmOsEH A.3320@TK2MSFTN GP15.phx.gbl...[color=green]
      > > I program with ASP VBScript. Would like to know its MIME type so I can[/color]
      > have[color=green]
      > > my own extension like what others do.
      > >
      > > Thanks!
      > >
      > >
      > >[/color]
      >
      >[/color]




      Comment

      • Eric Wang

        #4
        Re: Help pls- quick one

        Does using it as text/html process its ASP Codes in the script?



        "Jonathan Chong" <jonathan@3exp. com> wrote in message
        news:u94qnzOsEH A.1308@tk2msftn gp13.phx.gbl...[color=blue]
        > By default it will be "text/html". Unless you change it do something else,
        > such as XML like this:
        >
        > <%
        > Response.Conten tType = "text/xml"
        > %>
        >
        > "Eric Wang" <ericwang90@gma il.com> wrote in message
        > news:eupQGmOsEH A.3320@TK2MSFTN GP15.phx.gbl...[color=green]
        > > I program with ASP VBScript. Would like to know its MIME type so I can[/color]
        > have[color=green]
        > > my own extension like what others do.
        > >
        > > Thanks!
        > >
        > >
        > >[/color]
        >
        >[/color]






        Comment

        • Bob Barrows [MVP]

          #5
          Re: Help pls- quick one

          No. That merely formats the data sent to te client.

          By default, using the .asp file extension will cause IIS to process the page
          using the asp.dll. other file extensions can be configured using IIS
          Manager. A Google search should provide the details.

          Bob Barrows

          Eric Wang wrote:[color=blue]
          > Does using it as text/html process its ASP Codes in the script?
          >
          >
          >
          > "Jonathan Chong" <jonathan@3exp. com> wrote in message
          > news:u94qnzOsEH A.1308@tk2msftn gp13.phx.gbl...[color=green]
          >> By default it will be "text/html". Unless you change it do something
          >> else, such as XML like this:
          >>
          >> <%
          >> Response.Conten tType = "text/xml"
          >> %>
          >>
          >> "Eric Wang" <ericwang90@gma il.com> wrote in message
          >> news:eupQGmOsEH A.3320@TK2MSFTN GP15.phx.gbl...[color=darkred]
          >>> I program with ASP VBScript. Would like to know its MIME type so I
          >>> can have my own extension like what others do.
          >>>
          >>> Thanks![/color][/color][/color]

          --
          Microsoft MVP - ASP/ASP.NET
          Please reply to the newsgroup. This email account is my spam trap so I
          don't check it very often. If you must reply off-line, then remove the
          "NO SPAM"


          Comment

          Working...