You misunderstood my question/problem.
My problem isn't that I want to be logged into both the user and admin part of xcart at the same time. That works fine.
The thing I would like to do is to get the the login to "stick" so that the sales people aren't logged out all the time... The main problem isn't the relogin process, but the work that is lost when it is rejected because the user is no longer logged in.
So I would like to maybe store the login informatin in a cookie and have the user only have to login once a day or so(setting the cookies expiry time one day)
But the problem is that the session variables aren't handled like they were before (with usual php session_register commands) but with x-carts own x_session_register witch does one of three things depending on your settings in config.php. (The session handling is done by sessions.php)
I could just set the session handling to the standard php one and just use the build in command in php to register the session variables as a cookie, but I guess there's a reason for x-carts own session-handling, and I dont want to put that out of play.
|