Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    308
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Funky urls with .asp? How's it possible?

    Is it easy to formulate urls that look similar to this?

    /products.asp?blah

    Thanks,

    Ash

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    308
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No functionality really. Just purely cosmetic. I just want it to look fancy.

  • #3
    Regular Coder
    Join Date
    May 2002
    Location
    Helsinki, Finland
    Posts
    231
    Thanks
    0
    Thanked 1 Time in 1 Post

    Smile

    For your information, ? character is used to separate parameter string in URL. These parameters can be processed with scripting (both server- and clientside).

    But of course, you're allowed to use parameter string to make your URL fancier, it doesn't affect on functionality in any way.
    Zvona
    First Aid for
    Web Design

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    308
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Can you give an example? Also, where would I need to place the files? I know nothing about .asp. :/

    Ash

  • #5
    Regular Coder
    Join Date
    May 2002
    Location
    Helsinki, Finland
    Posts
    231
    Thanks
    0
    Thanked 1 Time in 1 Post
    Originally posted by AshleyQuick
    Can you give an example? Also, where would I need to place the files? I know nothing about .asp. :/

    Ash
    ASP is a server-side language from Microsoft, which is scripted with VBScript and JScript. To be able to use ASP, your server has to support ASP (Microsoft's PWS, IIS, Apache+additional package..etc).

    You can search for tutorials about ASP and ASP.NET from various locations. If you need free webspace with ASP support, visit http://www.brinkster.com .

    Tutorials & references I use in problematic cases :
    http://www.w3schools.com
    http://msdn.microsoft.com/scripting
    http://www.google.com
    Zvona
    First Aid for
    Web Design

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Zvona is entirely correct...

    for your server to process the ASP Pages, it needs to be able to support it.

    Not that I would actually recommend this for cosmetic uses, but if you're really set on that - you can just use your HTML pages like this...

    rules.htm?querystring=absolutely+fake+way+of+doing+this

    It will make no difference in the funcionality of your pages... but to truly use the QueryString to your full advantage - you'll need to learn some server side language... (ASP, PHP, Perl, Java, etc.)

    ~Quack
    Last edited by QuackHead; 06-19-2002 at 03:27 PM.

  • #7
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    I think all they want is just things on the end for look...

    You can do it with any page...


    http://www.codingforums.com/showthread.php?s=&threadid=305&shdhhf=sfdsff&shfhhff=485yhg

    As you can see it will not effect the page...

  • #8
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    You could do something like this to make your links look "cool" and complicated:

    <a href="page.htm?data=<%=Request.ServerVariables("HTTP_COOKIE")%>>Click Here</a>


    Of course make sure your server will parse the page for ASP coding in order for it to work.
    OracleGuy

  • #9
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Heck if I was going to append a useless querystring to a URL I would probably make it completely random... just to make it look more l33t! (LOL).

    Actually one cool way to try and fool hackers (assuming you're using REAL querystrings) is to figure out your own way of encoding querystrings...
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #10
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Originally posted by whammy
    Heck if I was going to append a useless querystring to a URL I would probably make it completely random... just to make it look more l33t! (LOL).

    Actually one cool way to try and fool hackers (assuming you're using REAL querystrings) is to figure out your own way of encoding querystrings...
    You could do a simple 'encode' by just pushing each character up above the 128 ASCII table. It would be easy to someone to break if they knew thats what you were doing, but to the uninformed it looks nifty.
    OracleGuy


  •  

    Posting Permissions

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