I am creating an import function for import an excel file. the controller will handle it and save data to database.and after that,i want export the error to an excel file and send it to view. If the user clicks download, the excel file contains the error will download, otherwise do nothing.
So, I want to send a hidden file to the view to avoid saving the file to the database.
how to do it, please help!