Robert,
Thanks for your input. Shortly after I posted this I did just what you said.
Thanks again for your feed back.
Thanks for your input. Shortly after I posted this I did just what you said.
Dim dt As DataTable = Session("dataTableToExcel")
Session.Remove("dataTableToExcel")
This does two things ... 1. It removes the data right away. I will not be needing it after I download it to excel.
2. Since I remove it right after I created it, the user never has a chance to create a new tab between the time I create it, use it, and then remove it.
My data is not very large, and should never really be. This is an in-house (intranet) application so we do have somewhat more control over how our users use this page.Thanks again for your feed back.