[PHP] Help me to win the battle with browser's cache

2001-11-12 Thread Olexandr Vynnychenko
Hello php-general, I have index.php, which has a href=index.php?logoutLog out/a. When I click it, I am logged out the site. But I type index.php in browser's address bar, press Enter and ... it shows non-logouted page. What should I write in php code to tell browser something like

Re: [PHP] Help me to win the battle with browser's cache

2001-11-12 Thread Balaji Ankem
Hi, me also faced many probs last 3 months back and i overcome that. solution - use session variables.. register login info as session vars and during logout unregister... This is the solution to u'r problem.. - All the best -Balaji - Original

Re: [PHP] Help me to win the battle with browser's cache

2001-11-12 Thread Girish Nath
Hi I've found some code which i put it into this function. I've never got the meta tag technique to work but this seems to do the trick. Call noCache() before outputting anything to the page. function noCache() { header (Expires: Mon, 26 Jul 1997 05:00:00 GMT);// Date in the past header

Re[2]: [PHP] Help me to win the battle with browser's cache

2001-11-12 Thread Olexandr Vynnychenko
Hello Girish, Monday, November 12, 2001, 4:29:55 PM, you wrote: GN Hi GN I've found some code which i put it into this function. I've never got the GN meta tag technique to work but this seems to do the trick. GN Call noCache() before outputting anything to the page. GN function noCache() {