response.redirect (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


MikeF -> response.redirect (3/12/2001 23:58:00)

I am trying to use response.redirect to an asp page, but also passing a parameter:

<%
Response.Redirect "board.asp?searchby="response.write (msgboard)
%>

The contents of the parameter searchby never gets passed. Any ideas???? Thanks....





Spooky -> RE: response.redirect (3/13/2001 20:36:00)

Sure, you need to join the strings and as you are "adding" a value, dont write it.
It assumes msgboard is an active variable

<%
Response.Redirect "board.asp?searchby=" & msgboard
%>

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
4.736328E-02