Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

problem with php sessions

Discussion in 'General Discussion' started by cyon, Jun 6, 2003.

  1. cyon

    cyon Well-Known Member
    PartnerNOC

    Joined:
    Jan 15, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    166
    hy,

    I have a problem with php sessions.

    these two lines:

    shows the following error:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/cyonch/public_html/html/session.php:10) in /home/cyonch/public_html/html/session.php on line 10

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/cyonch/public_html/html/session.php:10) in /home/cyonch/public_html/html/session.php on line 10
    ccd0af3a22777e412ac91fd7483f111f

    has anyone an idea what the problem could be?

    the site with the session can be found here:
    http://www.cyon.ch/html/session.php

    the phpinfo() of my server can be viewed here:
    http://www.cyon.ch/html/phpinfo.php

    thx for your suggestions..

    dave.

    cPanel.net Support Ticket Number:
     
    #1 cyon, Jun 6, 2003
    Last edited: Jun 6, 2003
  2. norm

    norm Well-Known Member

    Joined:
    Apr 23, 2002
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    306
    Make sure there is no whitespace character's above the first <? and after the ending ?>

    cPanel.net Support Ticket Number:
     
  3. cyon

    cyon Well-Known Member
    PartnerNOC

    Joined:
    Jan 15, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    166
    ..there are no whitespaces.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice