ASP NET 2.0 HELP- Response.redirect VS Server.Transfer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnlim20088
    New Member
    • Jan 2007
    • 74

    ASP NET 2.0 HELP- Response.redirect VS Server.Transfer

    Hi,

    Hi, someone can help me?

    I have a export.aspx page with the following url in my code

    url = http://localhost/exportfolder/log.csv

    when i use Response.Redire ct(url)

    it working fine and prompt up save as dialog box for me.

    BUT when i change to Server.Transfer (url)
    -> it have error -> The virtual path 'http://localhost/exportfolder/log.csv' are expected

    CAN HELP?
Working...