Results 1 to 5 of 5

Thread: .aspx include help

  1. #1

    Thread Starter
    Lively Member spdracr's Avatar
    Join Date
    Oct 2003
    Location
    Kansas
    Posts
    115

    .aspx include help

    Can I have a .htm page that calls a .aspx page as an include?? If so, how??

    Thanks

  2. #2
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    Re: .aspx include help

    nopes.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: .aspx include help

    What are you trying to accomplish?

  4. #4

    Thread Starter
    Lively Member spdracr's Avatar
    Join Date
    Oct 2003
    Location
    Kansas
    Posts
    115

    Re: .aspx include help

    Ok, seeing how you answered my other post about the iframe I will abandon that and just keep everything here.

    Here is what I am wanting to do... (First off, I'm pretty new to asp.net.)

    Very basicly, I just want a section on each of my .html pages that is a login. I assume this would be pretty easy if all the pages were .aspx, but the content on these pages is kept up by people who know absolutely nothing other than Frontpage. So I really don't want them to have to mess with any code.

    What would be the best way of doing this?

    On a side note, I got the iframe working.

    Thanks

  5. #5
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Re: .aspx include help

    You make a form element on you htm page called login you have it submit to login.aspx. login.aspx uses Request.Forms("name/password)/["name/password"] to validate the login and redirect to an appropriate page.

    Now I am going to say that is not the .net way. I'm not sure if a new ASPX proccesor is loaded for every page in .net but I don't think that is the case. I think every page runs under one proccess now unlike asp so there is no reason to use a .htm unless it is pure static text being displayed......

    I'm not 100% on that dll load bit, but I'm pretty sure....

    Am I right FrogMan? (Glad to see the old avatar come back btw...)
    Magiaus

    If I helped give me some points.

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