LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2004, 08:22 AM   #1
ylkien
LQ Newbie
 
Registered: May 2004
Posts: 16

Rep: Reputation: 0
Session Problem


Hi,

I ma having problems with the sessions. I works fine on my windows platform.

There is already a /tmp folder in linux (Mandrake 9.2). when i list the contents of the folder, i can see the sessions, but i am getthing this problem when i call "session_start()".

Warning: session_start(): Cannot send session cookie - headers already sent by

Warning: session_start(): Cannot send session cache limiter



Anyone knows what the problem might be?
 
Old 05-25-2004, 08:44 AM   #2
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 208

Rep: Reputation: 30
hehe What is this ??

Looks like PHP session_start ??

Where do you read this error message in what situation ??

Well that means, could you PLZ be a little more specific ?? :-)
 
Old 05-25-2004, 09:14 AM   #3
ylkien
LQ Newbie
 
Registered: May 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Well, i got the message when i tried to start a new session (session_start). It is in the code....and the error is at the line where i called session_start.
 
Old 05-25-2004, 09:21 AM   #4
ylkien
LQ Newbie
 
Registered: May 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Nvm...i found out my problem already...i should always put the command "session_start()" first in any code....

more info here

PHPfreak
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome session problem chocloman Arch 4 05-20-2005 10:22 PM
xfce4-session fails to save session ! OneManArmy Debian 0 12-10-2004 03:14 PM
PHP Session problem!!! AskMe Programming 9 06-03-2004 08:33 AM
RH9: PHP session problem (or Apache problem) fengcn Red Hat 0 12-01-2003 07:32 PM
php session problem niehls Programming 3 06-20-2002 12:51 PM


All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration