srihari3d Posted September 14, 2009 Share Posted September 14, 2009 hi, error:...cannot send session cahe limiter... headers already sent by php....can any one give me the solution?..........when ever login with username & password...the session is not stored in the first time....but the next time login the session is stored with the username....what is the prblm?.....i m sending code also...... <?ob_start(); session_start();?> <?php $_SESSION['susername']=$_POST["username"]; if($_SESSION['susername']=="") $ssusername= $_SESSION['profileusername']; else $ssusername= $_SESSION['susername']; Header("Location: ./profile.php"); if($ssusername=="") require "serverbusy.html"; //session_register("ssusername"); ?> please give me the reply......... i m waiting for that............ Quote Link to comment https://forums.phpfreaks.com/topic/174201-errorcannot-send-session-cahe-limiterand-headers-already-sent-by/ Share on other sites More sharing options...
Zane Posted September 14, 2009 Share Posted September 14, 2009 just a shot in the dark here..but try changing this session_start();?> to this [code] ob_start(); session_start(); Quote Link to comment https://forums.phpfreaks.com/topic/174201-errorcannot-send-session-cahe-limiterand-headers-already-sent-by/#findComment-918317 Share on other sites More sharing options...
srihari3d Posted September 14, 2009 Author Share Posted September 14, 2009 i tryed but no use....i got same error.......plz give me the correct solution....if u want check it....www.dianimations.com....register new member....and login....it will give the error.....plz give me the reply..... Quote Link to comment https://forums.phpfreaks.com/topic/174201-errorcannot-send-session-cahe-limiterand-headers-already-sent-by/#findComment-918330 Share on other sites More sharing options...
PFMaBiSmAd Posted September 14, 2009 Share Posted September 14, 2009 Why not just copy/paste the error here so that someone can directly help you with finding the output that is being sent that is preventing the headers from working. Quote Link to comment https://forums.phpfreaks.com/topic/174201-errorcannot-send-session-cahe-limiterand-headers-already-sent-by/#findComment-918348 Share on other sites More sharing options...
srihari3d Posted September 14, 2009 Author Share Posted September 14, 2009 i m sending code also......till now i didn't get correct answer....if u want give me u'r mail id i will send my php pages....plz give me the reply.....urgent...... Quote Link to comment https://forums.phpfreaks.com/topic/174201-errorcannot-send-session-cahe-limiterand-headers-already-sent-by/#findComment-918355 Share on other sites More sharing options...
PFMaBiSmAd Posted September 14, 2009 Share Posted September 14, 2009 Don't send anything to anyone. That is not how programming help forums work. If you aren't, can't, or won't post only the relevant information, no one is going to help you. Quote Link to comment https://forums.phpfreaks.com/topic/174201-errorcannot-send-session-cahe-limiterand-headers-already-sent-by/#findComment-918363 Share on other sites More sharing options...
srihari3d Posted September 14, 2009 Author Share Posted September 14, 2009 if u feel bad sorry.....i m not thinking badly.....leave about that thing....i want answer....can any one give me....in this forum.....is ther any intelligent guys or not...i want answer....if any one want code i will send in this forum only....ok....don't feel......ok......i want answer......plz give me the reply...... Quote Link to comment https://forums.phpfreaks.com/topic/174201-errorcannot-send-session-cahe-limiterand-headers-already-sent-by/#findComment-918374 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.