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. ASP.NET
  4. url encoding [modified]

url encoding [modified]

Scheduled Pinned Locked Moved ASP.NET
tutorial
3 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.
  • S Offline
    S Offline
    shabi uz zaman
    wrote on last edited by
    #1

    i m devloping web application. i want to encode to url. that means user cannot access any page directly by url.how to encode the url.

    modified on Tuesday, January 01, 2008 5:39:28 AM

    U M 2 Replies Last reply
    0
    • S shabi uz zaman

      i m devloping web application. i want to encode to url. that means user cannot access any page directly by url.how to encode the url.

      modified on Tuesday, January 01, 2008 5:39:28 AM

      U Offline
      U Offline
      UsmanMunier
      wrote on last edited by
      #2

      <%@ Page Language="C#" %> <html> <head> <title>Encoding URL Strings</title> <script runat="server"> void UrlPathEncode() { string StrToEncode; string StrToReturn; StrToEncode = "UrlPathEncode.aspx? Arg = foo"; StrToReturn = Server.UrlPathEncode(StrToEncode); Response.Write("<a href=\"" + StrToReturn + "\">" + StrToReturn + "</a>"); } </script> </head> <body> <% UrlPathEncode(); %> </body> </html>

      Usman Munier Xavor Corporation Pakistan

      1 Reply Last reply
      0
      • S shabi uz zaman

        i m devloping web application. i want to encode to url. that means user cannot access any page directly by url.how to encode the url.

        modified on Tuesday, January 01, 2008 5:39:28 AM

        M Offline
        M Offline
        Michael Sync
        wrote on last edited by
        #3

        Encoding the URL and making the page not accessible by the user directly are different things. Do you want to do URL encryption? or How do you want the user to access indirectly?

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

        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