waqas
06-20-2002, 02:41 AM
how can i send a value or a variable by response.redirect ?
thanks
waqas
thanks
waqas
response.redirectwaqas 06-20-2002, 02:41 AM how can i send a value or a variable by response.redirect ? thanks waqas Anis 06-20-2002, 04:48 AM variable1 = request.form("value1") response.redirect (variable1) Rezner 06-21-2002, 07:41 AM You can not transfer variable values alone through Response.Redirectvariable1 = 9999 response.redirect (variable1)The above code will generate an error, since there is probably no file on the web server named "9999". The Redirect method is for transfering the browser to different pages. If you want to transfer variable values with it, then you have to tag them onto the file address. Example: response.redirect "yourpage.asp?a=99&b=1000"Then, on yourpage.asp you could extract the values of a,b with: Response.write Request.Querystring("a") Response.write Request.Querystring("b")Alternatively, you can utilize session cookies to do this same thing. waqas 06-22-2002, 11:41 AM Thanks Rezner |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum