ASP in front page

Posted on 2005-05-05
Last Modified: 2013-12-24
OK i posted somthing similuar to this a bit ago but the solution did not work

I have a form that when it is submitted it writes to a txt file. that works fine and is called submit.htm

However i have a asp page prior to that that will redirect the user to submit.htm i need to merge a session variable onto the submit.htm, the session is called e_cd and noramlly i would just use session("E_CD") but when i us it on submit.htm the tags get messed up and half the code is outside the text field.

Idf i save the file as a ASP file then i also get a problem as the form when submitted is not writeing to the text file.

I have checked that the compatabily option in frontpage is selected for ASP.

Question by:willa666
    LVL 14

    Expert Comment


    I don't think that you can pass a session from ASP to HTML
    LVL 4

    Accepted Solution

    You cannot pass session info to a HTML page as stated by hhammash.

    You also cannot use FrontPage form wizards on a page other than HTML pages. (will not work on ASP pages)

    Here is a reply I just made on another FrontPage form question.

    There's a filter named shtml.dll that runs on the Web server and watches for browse-time FrontPage components like Save Results. There's a second filter called asp.dll that runs on the Web server and runs ASP code.
    These two are incompatible, as in one not being able to feed the other, and that's one reason why you can't combine browse-time FrontPage components with ASP. There was an another security problem with this in which Microsoft fixed that by making it impossible to mix the two technologies.

    this is one work-around!
    make your form on an .html/ .htm page and configure it as usual. not a 'templated page' but just a plain old page, switch to "code view" and delete from the <body> tag up and from the </body> tag down (including the tag itself). then, in the asp page include the form with an .asp include!  it even works with php.

    Otherwise it is best to develop your own code to send your results and perform whatever else it is you need done.

    Hope this helps you out...

    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Now that Expression Web 4.0 ( is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
    Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
    The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
    The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following:…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now