Wednesday, August 19, 2009

Random Query Param For Multiple Windows

Random Query Param For Multiple Windows

I am trying to create a query string that opens a web with a page redirect and appends a generated random number as follows:

Dim myRandom AsNewSingle
myRandom = Rnd(5)
Response.Redirect(
"http://MyLocalMachineName/MyWebApp/Default.aspx?sender=" & myRandom, True)

However, if this has been run once and the default page is open, I am unable to run this code again until I close the default page. Any ideas why that is?

Thanks again.

Chris


View Full Details...............................

No comments:

Post a Comment