PDA

View Full Version : Really new...


thickandthin
11-20-2002, 01:39 AM
Hi I am really new to asp, and I need help, I want one of those things where there is a default file, then it buils on it like
example : www.domain.com/default.asp then www.domain.com/default.asp?links

glenngv
11-20-2002, 01:44 AM
can you explain further?

whammy
11-20-2002, 01:47 AM
That would be:

Request.QueryString("variablename")

i.e.

http://www.mydomain.com/whatever.asp?blah=1

if you were on "whatever.asp" you would do something like:

<%
Dim blah
blah = Request.QueryString("blah")
Response.Write(blah)
%>

Which would output:

1

This is a really basic question though... if you haven't learned any ASP, you'd be better off buying a book or taking some ASP tutorials, like:

http://www.w3schools.com/asp
http://www.liquidrage.com
http://www.haneng.com

And now I see why scroots sent me the message he did about posting good basic ASP links. You are psychic, scroots. ;)

whammy
11-20-2002, 01:49 AM
Sorry Glenn, but it looks like he is trying to understand how to parse a querystring. :)

Before you attempt any ASP programming, ThickAndThin, you must understand at least the basics, as they are taught right after:

<% = "Hello World!" %>

:)

I think the tutorials provided above should get you a good start, if you're familiar with programming at all. But I would still buy a book like "Beginning ASP 3.0" by Wrox.com.

I'm taking ASP.NET courses now, and ASP is comparatively much easier, so you shouldn't have a problem with it at all. :)

glenngv
11-20-2002, 01:52 AM
You read minds better than I do :D

whammy
11-20-2002, 01:54 AM
Well, I AM psychic, to a certain extent. But don't tell anyone. ;)