Caching & Authentification

From: Date: Sat, 28 Apr 2001 11:43:27 +0000
Subject: Caching & Authentification
Groups: php.general 
Request: Send a blank email to php-general+get-50749@lists.php.net to get a copy of this message
Hi all I use sessions the authenticate users, but I seem to have a problem. This is what happens: 1) A user logs in on PC one with his username and password. (So far so good) 2) Another user logs in with his details on the same computer --> He is logged in with his details but the page displayed is the one of the other user unless he refreshes the page. I thought this was because the page might be cached, but when I set the header("cache-control: no-cache") & the meta tag http-equiv="Expires" content="-1" it still produces the same effect. How can I solve this problem? Haemelinck Steve Personal: Haemelinck.be - Developers Unite :) Junior WebDeveloper http://www.haemelinck.be:8080/ steve.haemelinck@haemelinck.be Work: MCT IT Consulting - Take consulting 2 the next level Junior IT Consultant http://www.mct.be/ steve.haemelinck@mct.be Haemelinck Steve Personal: Haemelinck.be - Developers Unite :) Junior WebDeveloper http://www.haemelinck.be:8080/ steve.haemelinck@haemelinck.be Work: MCT IT Consulting - Take consulting 2 the next level Junior IT Consultant http://www.mct.be/ steve.haemelinck@mct.be

« previous php.general (#50749) next »