www.webdeveloper.com
Results 1 to 7 of 7

Thread: ASP v ASPX

  1. #1
    Join Date
    Dec 2005
    Posts
    6

    ASP v ASPX

    What's the diff and why would I want to use one over the other? I have a site which, when using asp, says there is a source code problem, but when I save and use aspx, the page opens???????
    Thanks,
    Gramps

  2. #2
    Join Date
    Jun 2003
    Location
    Indiana, USA
    Posts
    1,138
    It all depends on what kind of coding you are using. ASP is the extension for classic ASP coding. ASPX is for ASP.NET coding. If you post some of the code, I can tell you what you are using.
    Chris.Martz.me
    Some things Man was never meant to know. For everything else, there's Google.

  3. #3
    Join Date
    Dec 2005
    Posts
    6
    Chris:
    It would help if I knew what I was doing. Here is some code:
    <!--#include virtual="/includes/js-getthekit.asp"-->

    <script language="JavaScript" fptype="dynamicanimation">
    <!--
    function dynAnimation() {}
    function clickSwapImg() {}
    //-->
    </script>
    <script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
    </script>
    <%
    sSection="starterkit"
    subSection="getthekit"

    If InStr(Request.ServerVariables("HTTP_USER_AGENT"), "MSIE") THEN
    useclass="standard"
    ELSE
    useclass="netscapestandard"
    END IF %>


    <body onLoad="dynAnimation()" language="Javascript1.2" background="images/backgroundpattern.gif">

    <!--#include virtual="/includes/footer.asp"-->
    <div align="center">

    It doesn't say much to me. Why can I have .asp files load and this one only loads if it is aspx? Does it really make difference for the form that is on this page? The code references a js-getthekit.asp and incorporates that on the page, but I don't see where it appears. I inherited this from another and am trying to figure out how to handle it.
    Thanks,
    Gramps

  4. #4
    Join Date
    Jun 2003
    Location
    Indiana, USA
    Posts
    1,138
    Do you have this page hosted somewhere where I could see it in action? If you do, please give it the .asp extension so I can see what error you are getting.
    Last edited by chrismartz; 01-06-2006 at 07:19 PM.
    Chris.Martz.me
    Some things Man was never meant to know. For everything else, there's Google.

  5. #5
    Join Date
    May 2005
    Posts
    2,040
    Now there's an ASPX?!!
    ASP->ASP.NET->ASPX
    There's also C->C#->Cw all for .net
    Will the bleeding never end?!!!

  6. #6
    Join Date
    May 2005
    Posts
    2,040

  7. #7
    Join Date
    Dec 2003
    Location
    England, UK
    Posts
    432
    looks like an asp page to me. if you go to it it might give you details of the error. if not then you could try looking in the log files on the server to see what's happening.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles