blank page

  • Thread starter Thread starter Yuri
  • Start date Start date
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!
 
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.
 
Back
Top