Problem with SESSION variables...

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

    #16
    Re: Problem with SESSION variables...

    On Tue, 04 Nov 2003 20:18:12 +0000, Pedro wrote:
    [color=blue]
    > I wrote, way too fast:[color=green]
    >> session_cookie_ path = /[/color]
    > session.cookie_ path = /
    >
    >
    > session.save_pa th is local to the webserver filesystem.
    >
    > session.cookie_ path is the HTTP path sent to the client in the cookie.[/color]
    I had it set to /, I just tried and changed, it didnt do any difference.
    I'll change it back.

    /ZW

    Comment

    • Pedro

      #17
      Re: Problem with SESSION variables...

      ZoombyWoof wrote:[color=blue]
      > I'll change it back.[/color]

      Is it working now?

      I just noticed -- at the locally cached phpinfo -- you did not have

      session.save_ha ndler = files

      Maybe you have already changed that too :)

      --
      I have a spam filter working.
      To mail me include "urkxvq" (with or without the quotes)
      in the subject line, or your mail will be ruthlessly discarded.

      Comment

      • ZoombyWoof

        #18
        Re: Problem with SESSION variables...

        On Tue, 04 Nov 2003 22:54:58 +0000, Pedro wrote:
        [color=blue]
        > ZoombyWoof wrote:[color=green]
        >> I'll change it back.[/color]
        >
        > Is it working now?
        >
        > I just noticed -- at the locally cached phpinfo -- you did not have
        >
        > session.save_ha ndler = files
        >
        > Maybe you have already changed that too :)[/color]

        :-)))))) Its working now! You were right, I had session.save_ha ndler =
        file instead of session.save_ha ndler = files (pluralis)

        The script works, the variables are echoed correctly in page2.php But, I
        get this warning :

        Warning: session_start() : Cannot send session cookie - headers already
        sent by (output started at /usr/local/apache2/htdocs/phptest/page2.php:4)
        in /usr/local/apache2/htdocs/phptest/page2.php on line 7

        Warning: session_start() : Cannot send session cache limiter - headers
        already sent (output started at
        /usr/local/apache2/htdocs/phptest/page2.php:4) in
        /usr/local/apache2/htdocs/phptest/page2.php on line 7

        What does this mean ?

        Thanx for the help.

        /ZW

        Comment

        • ZoombyWoof

          #19
          Re: Problem with SESSION variables...

          On Wed, 05 Nov 2003 00:05:42 +0100, ZoombyWoof wrote:
          [color=blue]
          > On Tue, 04 Nov 2003 22:54:58 +0000, Pedro wrote:
          >[color=green]
          >> ZoombyWoof wrote:[color=darkred]
          >>> I'll change it back.[/color]
          >>
          >> Is it working now?
          >>
          >> I just noticed -- at the locally cached phpinfo -- you did not have
          >>
          >> session.save_ha ndler = files
          >>
          >> Maybe you have already changed that too :)[/color]
          >
          > :-)))))) Its working now! You were right, I had session.save_ha ndler =
          > file instead of session.save_ha ndler = files (pluralis)
          >
          > The script works, the variables are echoed correctly in page2.php But, I
          > get this warning :
          >
          > Warning: session_start() : Cannot send session cookie - headers already
          > sent by (output started at /usr/local/apache2/htdocs/phptest/page2.php:4)
          > in /usr/local/apache2/htdocs/phptest/page2.php on line 7
          >
          > Warning: session_start() : Cannot send session cache limiter - headers
          > already sent (output started at
          > /usr/local/apache2/htdocs/phptest/page2.php:4) in
          > /usr/local/apache2/htdocs/phptest/page2.php on line 7
          >
          > What does this mean ?
          >
          > Thanx for the help.
          >
          > /ZW[/color]
          I solved it. I had an echo line before session_start, which according to
          the php manual is Not allowed. Not everything is HunkyDory :-))

          Thanx again everyone that answered me and tried to help me.

          /ZoombyWoof

          Comment

          Working...