uncleroydee
Technical User
Is it possible to use "RESPONSE.REDIRECT" with an ASP that passes parameters?
I'm trying to use an interim page to run a stored procedure that calls a contract number from the database, based on an item number, and then redirects to something like "targetpage.asp?contractnumber=<%rst("contractnumber"%>" using the contract number as a parameter. I haven't seen it done and what I've read makes me think it's difficult, if not impossible.
I've verified that the interim page is receiving the item number, running the SP, and retrieving the contract number with "Response.Write" statements (which I then removed)but that's where the wheels fall off.
I usually get an error like:
"Header Error
/page.asp, line whatever
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
"
Thanks,
Roy
I'm trying to use an interim page to run a stored procedure that calls a contract number from the database, based on an item number, and then redirects to something like "targetpage.asp?contractnumber=<%rst("contractnumber"%>" using the contract number as a parameter. I haven't seen it done and what I've read makes me think it's difficult, if not impossible.
I've verified that the interim page is receiving the item number, running the SP, and retrieving the contract number with "Response.Write" statements (which I then removed)but that's where the wheels fall off.
I usually get an error like:
"Header Error
/page.asp, line whatever
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
"
Thanks,
Roy