Welcome Guest, Not a member yet? Register   Sign In
session 'range' ?
#1

[eluser]stijnvdb[/eluser]
Hi,

probably a stupid question, but can't seem to find anything about it in the user guide...
I'm building my own cms-system, which means: admin functionalities.
My personal website is built with my CMS, and I'm running a demo of the CMS on the same server, so I have 2 CI installations in 2 different dirs Smile
Now, the problem here is that my sessions don't quite get it... ;-)

The problem: if you would log in to the demo-adminpanel, you'd also have adminrights on the adminpanel of my personal website... Not good. This is how I check logged in true/false in both systems:
Code:
<? if ($this->session->userdata('logged_in') == 1)  : ?>

Is there some config parameter that allows you to keep session vars within a certain environment (without having to edit the if-statement everywhere) ? I'm using native sessions btw Smile

Thanks in advance!


Messages In This Thread
session 'range' ? - by El Forum - 08-12-2007, 10:18 AM
session 'range' ? - by El Forum - 08-12-2007, 10:24 AM
session 'range' ? - by El Forum - 08-12-2007, 10:33 AM
session 'range' ? - by El Forum - 08-12-2007, 10:37 AM
session 'range' ? - by El Forum - 08-12-2007, 10:44 AM
session 'range' ? - by El Forum - 08-12-2007, 12:48 PM
session 'range' ? - by El Forum - 08-12-2007, 02:38 PM
session 'range' ? - by El Forum - 08-12-2007, 03:36 PM
session 'range' ? - by El Forum - 08-13-2007, 05:08 AM
session 'range' ? - by El Forum - 08-14-2007, 04:13 AM
session 'range' ? - by El Forum - 08-14-2007, 07:28 AM
session 'range' ? - by El Forum - 08-14-2007, 07:46 AM
session 'range' ? - by El Forum - 08-14-2007, 08:27 PM
session 'range' ? - by El Forum - 08-15-2007, 03:33 AM
session 'range' ? - by El Forum - 08-17-2007, 11:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB