Help me to let me know how to auto delete cookies and tmp files while using lotus notes 6 in web

please help me…

i have designed a lotus notes form (in lotus notes 6) which is going to be used in web

the form is having different links in it depending on the userroles

when iam opening the form with one user role(say administrator) iam getting some set of links(navigation in form ) but when i closed the page and open the Browser again with other user role(say designer) iam getting the same set of links shown for the first case instead it should show different links set for designer

but when i open the browser and open the form in one user role and then closed it then deleted the cookies and tmp files by going to internet options and opening the form again with different user role iam getting the correct links please help me in this regard

is their any code or settings needs to be done for auto delting of cookies and tmp files in lotus notes 6

USING Internet Explorer 6

OS XP

i have tried by enabling and disabling java console in advanced options of internet explorer but didnot work