This is a discussion on session sharing between cf & php within the PHP Language forums, part of the PHP Programming Forums category; I'm trying to extend an existing site written in CF. We're going to move it to PHP at ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm trying to extend an existing site written in CF. We're going to move
it to PHP at some point in the near future, but in the meantime, I'd like to add some minor new features, and can steal them quickly from other sites I have in PHP. So far, everything's cool except the session variables holding username, userid, etc. Is there a way to "share" that session? CF is using session.userid as a variable to store the info, but I don't seem to get it in $_SESSION['userid']. Thanks, Greg |
|
|||
|
On Thu, 15 Jan 2004 16:25:16 GMT, Greg Bryant <bryantgHELLO@yahoo.com> wrote:
>I'm trying to extend an existing site written in CF. We're going to move >it to PHP at some point in the near future, but in the meantime, I'd like >to add some minor new features, and can steal them quickly from other sites >I have in PHP. So far, everything's cool except the session variables >holding username, userid, etc. Is there a way to "share" that session? CF >is using session.userid as a variable to store the info, but I don't seem >to get it in $_SESSION['userid']. PHP allows user-defined session storage handlers; if you can't get CF to read PHP session files, you could write PHP session handlers to interact with however CF stores sessions. http://uk2.php.net/session http://uk2.php.net/manual/en/functio...ve-handler.php -- Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool <http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space> |