Print Page | Close Window

asp pages

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=16145
Printed Date: 29 March 2026 at 11:56pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: asp pages
Posted By: pilot99
Subject: asp pages
Date Posted: 08 August 2005 at 12:35pm
hello i was wondering how do you make it so that there is default.asp?C=2 like that att the end i know it is for different content how do you do that any good tutorials?



Replies:
Posted By: dpyers
Date Posted: 08 August 2005 at 1:05pm
What are you trying to do?
Are you trying to automatically route default.asp to default.asp?C=2
or are you asking how to read and process a querystring?


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: pilot99
Date Posted: 08 August 2005 at 7:00pm
i want to know how to make it so that when you go to a page with that extra characters on the name something els shows up.


Posted By: dj air
Date Posted: 08 August 2005 at 7:26pm
if CLng(request.querystring("C")) = 2 then

'write page
response.write ("you are on page 2")
ELse

'write error page
response.write ("Wrong Page")

END IF

paste that within a .asp file then go to a url with ?C=2 , and without C=2 then see the results


Posted By: pilot99
Date Posted: 08 August 2005 at 9:04pm
thanks so much it worked i dont know what i would do without other people to help me lol



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net