troubleshooting Question

error retrieve session data from UTF8 file

Avatar of Kin Fat SZE
Kin Fat SZEFlag for Hong Kong asked on
13 Comments1 Solution470 ViewsLast Modified:

After I login the admin page with login : test , password : test007
I can retrieve session data $username = $_SESSION['username']; from plain text php file.
But, I doesn't works on UTF8 php file and give me an error
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent

If interested to try.
please login from with login : test , password : test007,
please goto (plain text file) and (UTF8 file) to test it
you can seem the result
anyone can help me to solve it?
<? session_start();
$username = $_SESSION['username'];
//$username = session_name("username");
echo 'username : ' . $username;
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros