2 Problems:
1. User A's information will come up when user B logs in instead of user B's
information coming up when user B logs in... User A's information seems to
be cached in /tmp/sess_8ce0348cbf6704f96c2d8094e876ac3b. Any ideas how to
keep this from happening?
2. When a user exits Internet
i guess what u are looking for is session_destroy();
Binay wrote:
> If i m getting ur problem correctly then u want to restrict the same user
> logging from different machines concurrently. If tht being the case the
> snippet u mentioned below alone won't solve the problem . you have
> maintain a
If i m getting ur problem correctly then u want to restrict the same user
logging from different machines concurrently. If tht being the case the
snippet u mentioned below alone won't solve the problem . you have maintain
a flag in the database which will be on when the user logs in and off when
he
Code:
session_cache_expire(0);
session_cache_limiter('private');
session_start();
I use this at the beginning of my script that processes data objects for my
users. The users use multiple machines and login to the web site. This
prevents the cached information from one user popping up when anot
4 matches
Mail list logo