Results 1 to 4 of 4

Thread: a file inside a file.

  1. #1
    Join Date
    Nov 2005

    a file inside a file.

    Hi, I would like to know how to call a page from a different page using asp.

    I'm asking the user for a category in one page and after he sumbit the form, I check the category with asp and then call the right page accordingly.

    Is there a way to do it without "include", but rather with the original pages. (I don't want to switch all the html pages into inc pages)

    Thanks, Oz.

  2. #2
    Join Date
    Mar 2006
    You can easily include an ASP or HTML file.
    It doesn't have to be an .inc file.

    It is even better to use .asp for your includes because .inc isn't parsed by the server and is send as clear text.

    So why not use include??

  3. #3
    Join Date
    Feb 2003
    sounds like Response.Redirect is the tool ozpo1 is looking for
    Dim aaa
    aaa = Lcase(Request.Form("aaa"))
    Select Case aaa
    	Case "hello"
    		Response.Redirect "hello.asp"
    	Case "goodbye"
    		Response.Redirect "goodby.asp"
    	Case "login"
    		Response.Rdirect "login.asp"
    	Case Else
    		Response.Redirect "default.asp"
    End Select

  4. #4
    Join Date
    Mar 2006
    ok response.redirect is also an option

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