Hiding the file extension of .asp pages

Results 1 to 2 of 2

Thread: Hiding the file extension of .asp pages

  1. #1
    Join Date
    Dec 1969

    Default Hiding the file extension of .asp pages

    I am setting up a site to support multiple distributors. Each will have a web page which is identified by their distributor number. For example www.mysite.com/0002<BR><BR>The 0002 bit needs to be captured throughout. My problem is that, unless the page is called 0002.asp, I can&#039t run any code (I either want to add the value to a cookie or post the value back into the url in the format ?0002). I don&#039t want the visitor to have to enter the .asp bit of the URL. Any suggestions?<BR><BR>Thanks<BR>Liz

  2. #2
    Carl Bennett Guest

    Default RE: Hiding the file extension of .asp pages

    You could setup multiple directories named /0001, /0002, etc each containing a default.asp file in each one. Then your user would only need to type in the directory, www.yoursite.com/0001.<BR><BR><BR>

Posting Permissions

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