Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Hide Page Url and Querystring

Hide Page Url and Querystring

Scheduled Pinned Locked Moved Web Development
htmldatabasetutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    P T R K
    wrote on last edited by
    #1

    Hi all, I want to hide the page url and querystring in a html page. I have used the following URL, "http://mydomain/products/index.html?Mode=Edit" In my request is ,how to use the followning URL, "http://mydomain/products" only. Thanks in advance

    B 1 Reply Last reply
    0
    • P P T R K

      Hi all, I want to hide the page url and querystring in a html page. I have used the following URL, "http://mydomain/products/index.html?Mode=Edit" In my request is ,how to use the followning URL, "http://mydomain/products" only. Thanks in advance

      B Offline
      B Offline
      Bradml
      wrote on last edited by
      #2

      Firstly you have not used that as a way for admins to edit the page have you? Second there are 2 ways of doing that. If you only want to receive the value and do not require it to stay in the that url (like if you are going to place a cookie or have a session) then you can redirect the user. A PHP version of this is: header('Location: index.php'); or you can use the obvious approach and use frames (I don't think you need an example for this).

      Brad Australian Save the Glass House (Fill in the complaint form to the ABC) Glass House Home Page (May as well get hooked while you still can)

      C 1 Reply Last reply
      0
      • B Bradml

        Firstly you have not used that as a way for admins to edit the page have you? Second there are 2 ways of doing that. If you only want to receive the value and do not require it to stay in the that url (like if you are going to place a cookie or have a session) then you can redirect the user. A PHP version of this is: header('Location: index.php'); or you can use the obvious approach and use frames (I don't think you need an example for this).

        Brad Australian Save the Glass House (Fill in the complaint form to the ABC) Glass House Home Page (May as well get hooked while you still can)

        C Offline
        C Offline
        CWIZO
        wrote on last edited by
        #3

        Or you can use Mod_Rewrite if you are using Apache (or a appropriate alternative in IIS)

        -------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

        B 1 Reply Last reply
        0
        • C CWIZO

          Or you can use Mod_Rewrite if you are using Apache (or a appropriate alternative in IIS)

          -------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

          B Offline
          B Offline
          Bradml
          wrote on last edited by
          #4

          What would this achieve? I think that he wants to acknowledge user input, by simply re-directing could he capture it?

          Brad Australian Save the Glass House (Fill in the complaint form to the ABC) Glass House Home Page (May as well get hooked while you still can)

          C 1 Reply Last reply
          0
          • B Bradml

            What would this achieve? I think that he wants to acknowledge user input, by simply re-directing could he capture it?

            Brad Australian Save the Glass House (Fill in the complaint form to the ABC) Glass House Home Page (May as well get hooked while you still can)

            C Offline
            C Offline
            CWIZO
            wrote on last edited by
            #5

            Oh my bad. I misunderstood the question :)

            -------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups