session sharing between cf & php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Greg Bryant

    session sharing between cf & php

    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
  • Andy Hassall

    #2
    Re: session sharing between cf & php

    On Thu, 15 Jan 2004 16:25:16 GMT, Greg Bryant <bryantgHELLO@y ahoo.com> wrote:
    [color=blue]
    >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'].[/color]

    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.




    --
    Andy Hassall <andy@andyh.co. uk> / Space: disk usage analysis tool
    <http://www.andyh.co.uk > / <http://www.andyhsoftwa re.co.uk/space>

    Comment

    Working...