SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Session

  1. #1
    SitePoint Zealot
    Join Date
    Apr 2006
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Session

    hi all, when iam using session and test it on my local machine , every thing is going well , but when i upload it to the server this error comes "Warning: session_start(): Cannot send session cache limiter"
    are there any requirments should i do to activate session

  2. #2
    SitePoint Wizard silver trophy
    Join Date
    Mar 2006
    Posts
    6,132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    session_start() sends http headers headers.

    all headers must be sent before you send any output. output is any text/html, or even whitespace characters like spaces or even blank new lines. it doesnt matter if the output comes from inside <?php tags or not, its all considered output.

    depending on what version of php, the error message may tell you what file and line the output started at. if it doesnt, just view the html source output of the script, and whatever text comes before the error message text is your problem.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •