Board index » Web Programming » Browser Caching Problem
|
dexx
|
Browser Caching Problem
Web Programming117
I am currently experiencing a problem whereby browser caching seems to be causing my page to be invalid. I am using a standard DataGrid WebControl which is bound to a DataView object. I use a link in the DataGrid control to go to a details page for the record to edit a number of different fields for the record. After updating the dataset and database, I use a response.redirect (Iâ??ve also tried Server.Transfer) to return to the first page with the DataGrid. The problem is that the DataGrid does not reflect the changes Iâ??ve made to the database. If I step the page load procedure in debug mode, the DataGrid does update and I see the new data. If I donâ??t, I donâ??t see the new data until I hit the refresh button or click on the link to go to the page directly. Iâ??ve tried to use the HTML metatags â??<meta http-equiv="Pragma" content="no-cache">â?? and â??<meta http-equiv="expires" content="0">â?? but they donâ??t seem to work. I have the same problem if Iâ??m using IE or Firefox. Iâ??ve also tried to use â??OutPutCache Location=â??noneâ??â?? (which as I donâ??t think is related) with no success. Any help, ideas, comments, suggestions would be appreciated. -- Jonathan - |
