aspquestions Posted September 28, 2009 Report Share Posted September 28, 2009 (edited) In the ASP Request section of the asp tutorial (1st example): <html><body><a href="demo_simplequerystring.asp?color=green">Example</a><%Response.Write(Request.QueryString)%></body></html>Why doesn't the "color= green" show up the first time the page is loaded (the first time we open the window to look at the example??I am new to asp and am still having a bit of trouble understanding the sequence of events. I would appreciate it if someone would explain this example to me.Thanks! Edited September 28, 2009 by aspquestions Link to comment Share on other sites More sharing options...
Synook Posted September 28, 2009 Report Share Posted September 28, 2009 Because, the first time, there is no querystring set. Only when you click on the link that has the querystring variable "color" does it get set. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now