aspquestions Posted September 28, 2009 Share Posted September 28, 2009 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! Link to comment Share on other sites More sharing options...
Synook Posted September 28, 2009 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
Archived
This topic is now archived and is closed to further replies.