Welcome Guest, Not a member yet? Register   Sign In
Question about CI_Session
#4

[eluser]WanWizard[/eluser]
The CI Session library is very reliable.

Most of the issues reported are cookie related, and caused by configuration errors, not by the Session library. There were some issues with the Session library in old versions of CI, but that's a long time ago.

If you mean by "one login per PC" one login per browser, that this is archieved by every session library, as all browser windows share the same session. If you really mean 'one physical PC', then you could add a check on IP address, if you can guaranty that would be unique (which is not always the case) you could make sure you only have one active session per IP.

The real question however is: why do you want to archieve this? Because from your application point of view, there is no difference between a user logged in twice using two browsers on the same PC versus two browsers on two different PC's (which is allowed?).


Messages In This Thread
Question about CI_Session - by El Forum - 08-24-2010, 02:47 PM
Question about CI_Session - by El Forum - 08-24-2010, 04:43 PM
Question about CI_Session - by El Forum - 08-25-2010, 08:02 AM
Question about CI_Session - by El Forum - 08-25-2010, 12:28 PM
Question about CI_Session - by El Forum - 08-25-2010, 02:39 PM
Question about CI_Session - by El Forum - 08-26-2010, 12:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB