ADODB and Sessions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • b. michael S.

    ADODB and Sessions

    Hello!
    I 'm experiencing a problem with ADODB's Session Management. There is
    No Documentation on that part on How you gonna set Session Variables.
    Ie. Usually you would set $_SESSION['varname'] = 'somecontent'; But if
    i do that with the ADODB session2 included at the beginning then
    session_start() command and afterwards set the Session Variable then
    nothing happens... No content in the database entered.

    Therefore i'm a little dissappointed that there is no documentation on
    that. Could anyone be of assistance?

    thx
    Michael

  • Mike P2

    #2
    Re: ADODB and Sessions

    On May 13, 5:33 am, "b. michael S." <msch...@gmail. comwrote:
    Hello!
    I 'm experiencing a problem with ADODB's Session Management. There is
    No Documentation on that part on How you gonna set Session Variables.
    Ie. Usually you would set $_SESSION['varname'] = 'somecontent'; But if
    i do that with the ADODB session2 included at the beginning then
    session_start() command and afterwards set the Session Variable then
    nothing happens... No content in the database entered.
    >
    Therefore i'm a little dissappointed that there is no documentation on
    that. Could anyone be of assistance?
    >
    thx
    Michael
    Are you saying you are having trouble setting session variables in ADO
    with $_SESSION? $_SESSION is for PHP session variables, and has
    nothing to do with session variables of databases you connect to. You
    need to find out how to set session variables in SQL server or
    whatever you're connecting to.

    Comment

    Working...