@googlegroups.com
Sent: Thursday, January 28, 2010 11:15 PM
Subject: [symfony-users] Re: Making sure a login id only has one session at
any moment
The best solution for this is use database session. Add session_id
column in the Profile table. This field has to be set during login. So
if you
Why do you want to kill his old session?
On 28 led, 04:21, yth digital_...@yahoo.com.hk wrote:
Dear all,
When a user logins, the controller calls the following function in the
myUser.class. The problem is, if he doesn't logout but then logins in
another computer/browser, the old session
I think you can set a field in database setting login status to true.
Now if the person again logs in and you find from database, you can
take him to the logout screen/error screen.
On Thu, Jan 28, 2010 at 7:27 PM, Tom Ptacnik to...@tomor.cz wrote:
Why do you want to kill his old session?
On
The best solution for this is use database session. Add session_id
column in the Profile table. This field has to be set during login. So
if you are using sfGuardUserPlugin, you can override the signIn method
in myUser. With the session_id at hand you will be able to check if
user is signed in in
isAuthenticated and setAuthenticated sets only LOCAL Cookies. So if he
logins from another computer this functions doesn't check this, but if
ANOTHER User is logged in at the SAME computer, so you can delete his
e.g. credentials first before adding the new ones...
On 28 Jan., 04:21, yth
symfony-users@googlegroups.com
Sent: Thursday, January 28, 2010 9:57 PM
Subject: [symfony-users] Re: Making sure a login id only has one session at
any moment
Why do you want to kill his old session?
On 28 led, 04:21, yth digital_...@yahoo.com.hk wrote:
Dear all,
When a user logins, the controller
, January 28, 2010 11:15 PM
Subject: [symfony-users] Re: Making sure a login id only has one session at
any moment
The best solution for this is use database session. Add session_id
column in the Profile table. This field has to be set during login. So
if you are using sfGuardUserPlugin, you can
Sent: Thursday, January 28, 2010 11:15 PM
Subject: [symfony-users] Re: Making sure a login id only has one session at
any moment
The best solution for this is use database session. Add session_id
column in the Profile table. This field has to be set during login. So
if you are using
: Making sure a login id only has one session at
any moment
The best solution for this is use database session. Add session_id
column in the Profile table. This field has to be set during login. So
if you are using sfGuardUserPlugin, you can override the signIn method
in myUser