Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-19-2002, 04:39 AM   PM User | #1
AshleyQuick
Regular Coder

 
Join Date: Jun 2002
Location: USA
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
AshleyQuick is an unknown quantity at this point
Funky urls with .asp? How's it possible?

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

/products.asp?blah

Thanks,

Ash
AshleyQuick is offline   Reply With Quote
Old 06-19-2002, 05:08 AM   PM User | #2
AshleyQuick
Regular Coder

 
Join Date: Jun 2002
Location: USA
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
AshleyQuick is an unknown quantity at this point
No functionality really. Just purely cosmetic. I just want it to look fancy.
AshleyQuick is offline   Reply With Quote
Old 06-19-2002, 07:25 AM   PM User | #3
Zvona
Regular Coder

 
Join Date: May 2002
Location: Helsinki, Finland
Posts: 231
Thanks: 0
Thanked 1 Time in 1 Post
Zvona is an unknown quantity at this point
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
Zvona is offline   Reply With Quote
Old 06-19-2002, 08:18 AM   PM User | #4
AshleyQuick
Regular Coder

 
Join Date: Jun 2002
Location: USA
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
AshleyQuick is an unknown quantity at this point
Can you give an example? Also, where would I need to place the files? I know nothing about .asp. :/

Ash
AshleyQuick is offline   Reply With Quote
Old 06-19-2002, 09:25 AM   PM User | #5
Zvona
Regular Coder

 
Join Date: May 2002
Location: Helsinki, Finland
Posts: 231
Thanks: 0
Thanked 1 Time in 1 Post
Zvona is an unknown quantity at this point
Quote:
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
Zvona is offline   Reply With Quote
Old 06-19-2002, 02:24 PM   PM User | #6
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
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 02:27 PM..
QuackHead is offline   Reply With Quote
Old 06-24-2002, 03:11 AM   PM User | #7
Morgoth
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
Morgoth is an unknown quantity at this point
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...
Morgoth is offline   Reply With Quote
Old 06-24-2002, 06:54 AM   PM User | #8
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
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
oracleguy is offline   Reply With Quote
Old 06-25-2002, 02:00 AM   PM User | #9
whammy
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
whammy is an unknown quantity at this point
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. ;)
whammy is offline   Reply With Quote
Old 06-26-2002, 05:08 PM   PM User | #10
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Quote:
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
oracleguy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:06 AM.


Advertisement
Log in to turn off these ads.