blank page

Y

Yuri

Hello, friends! I try to redirect to .pdf file and recieve
a
blank page instead
The code looks like this:

try
Response.Redirect("./Exported/" & Session("User_Id")
& "/" & FileName, False)
catch e as exception
end try

the error message is
"Thread was being aborted"
I tried to move it out of try catch but still the same
error
try

catch e as exeption
end try
Response.Redirect("./Exported/" & Session("User_Id") & "/"
& FileName, False)

Thank you for response!
 
M

Manit Chanthavong

I have run into a similiar problem. It appears that the http header is
filled with data. You should try
Response.Clear();

Response.Redirect( "your url" );

if that doesnt work you could always use javascript to send the user to the
url.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top