|
-
Apr 2nd, 2001, 05:38 PM
#1
Thread Starter
Lively Member
I am trying to redirect a user and sending a querystring as well. I have formated the data to be send and tried to build a string. I get an error. The code is below:
Sub Back2Form
Form_Caption = Server.URLEncode(Form_Caption)
Form_Recipient = Server.URLEncode(Form_Recipient)
Form_Content = Server.URLEncode(Form_Content)
Form_Author = Server.URLEncode(Form_Author)
Val_Chk = Server.URLEncode(Val_Chk)
Val_Caption = Server.URLEncode(Val_Caption)
Val_Recipient = Server.URLEncode(Val_Recipient)
Val_Content = Server.URLEncode(Val_Content)
Val_Author = Server.URLEncode(Val_Author)
Response.Redirect "/newsInput.asp?FrmCap=" & Form_Caption & "&frmRec=" & Form_Recipient & "&frmCont=" & Form_Content
End Sub
The error is as follows:
Response object error 'ASP 0156 : 80004005'
Header Error
/Test/newsPost.asp, line 30
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
What am I doing wrong?
Thank you,
Coopetj
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|