I have a web form on PAGE A that gets sent to PAGE B for processing. PAGE B validates the data, inserts it into a MYSQL database. The record ID that is generated from the INSERT is placed into a SESSION variable. PAGE B has a button on it. When user clicks button, it goes to PAGE C, which uses the class FPDF to generate a nice PDF Form that the user prints out. PAGE C uses the SESSION variable created on PAGE B to find the correct record.
PAGE A does all of the SESSION DESTROY/COOKIE DESTROY stuff to erase all personal data in case someone goes from PAGE C to PAGE A without closing the browser window. When I print out the session data on this page, it is blank, so I feel confident that this is happening correctly.
In FireFox, the system works fine... But in I.E. The SESSION Variable of the first person to fill out the form since the browser window has been open will persist. Or, if it doesn't persist, IE is somehow caching the old PAGE 3 and reprinting the previous record.
This is not good for privacy purposes.
Is there anything I can do to force IE to purge its cache?