des Posted August 15, 2005 Report Share Posted August 15, 2005 Ir taada probleeminja, ka laiku pa laikam aplikaacija uzkaras tieshi pie session_start() rindinjas. Un taa liidz pat browsera restartam. php versija ir 4.3.11. Link to comment Share on other sites More sharing options...
bubu Posted August 15, 2005 Report Share Posted August 15, 2005 Ko nozīmē - aplikācija uzkaras? Link to comment Share on other sites More sharing options...
des Posted August 15, 2005 Author Report Share Posted August 15, 2005 Ko nozīmē - aplikācija uzkaras? 20935[/snapback] nu ljoti vienkaarshi: rindinja session_start() pildaas, pildaas, pildaas.... bet pildiities nebeidz... jeb echo "Starting session..."; exit(); session_start(); echo "Session started...."; ..... nostraadaa (tiek izmests pazinjojums "Starting session"), bet echo "Starting session..."; session_start(); echo "Session started...."; ..... nestraadaa... Link to comment Share on other sites More sharing options...
des Posted August 15, 2005 Author Report Share Posted August 15, 2005 Aizmirsu veel piebilst, ka efekts ir noveerojams tikai uz IE.... :/ Link to comment Share on other sites More sharing options...
Grey_Wolf Posted August 15, 2005 Report Share Posted August 15, 2005 Aizmirsu veel piebilst, ka efekts ir noveerojams tikai uz IE.... :/ 20937[/snapback] piezime - brauzerim pilniigi nav neka sakara ar sesijaam :) Link to comment Share on other sites More sharing options...
des Posted August 15, 2005 Author Report Share Posted August 15, 2005 piezime - brauzerim pilniigi nav neka sakara ar sesijaam :) 20938[/snapback] Teoreetiski jau brawzerim ar daudz ko nebuutu jaabuut sakaram, bet praktiski biezhi vien gadaas visaadi ubergljuki, kas specifiski tikai atsevishkjam browserim. Un ar sesiju sakars browserim ir kaut vai taads, ka sesijas ID pie attieciigas servera konfiguraacijas tiek glabaats cookijaa. Link to comment Share on other sites More sharing options...
v3rb0 Posted August 15, 2005 Report Share Posted August 15, 2005 pirms session_start() nevajag echo 'tiripiri'. Link to comment Share on other sites More sharing options...
des Posted August 15, 2005 Author Report Share Posted August 15, 2005 pirms session_start() nevajag echo 'tiripiri'. 20941[/snapback] arii bez echo "tiripiri" vinjsh uzkaraas. Tas echo "tiripiri" ir debuginfo tiiri. Ja echo "tiripiri" buutu vaina, tad tiktu izmests "output already started in line blablabla...". Link to comment Share on other sites More sharing options...
des Posted August 15, 2005 Author Report Share Posted August 15, 2005 Pagaidaam izskataas, ka probleema buus atrisinaata, ieliekot session_write_close() visur *uzreiz* peec peedeejaas darbiibas ar sesijas mainiigajiem. Link to comment Share on other sites More sharing options...
viss_kedaas Posted August 15, 2005 Report Share Posted August 15, 2005 ja pareizi atceros, tad pirms session_start(); neko lapā nedrīkstēja izvadīt... Link to comment Share on other sites More sharing options...
des Posted August 15, 2005 Author Report Share Posted August 15, 2005 ja pareizi atceros, tad pirms session_start(); neko lapā nedrīkstēja izvadīt... 20951[/snapback] es jau mineeju, ka arii bez jebkaadas izvades pirms session_start, vinja kaaraas. Ja buutu izvade pirms session_start, tad vispaar aplikaacija nespeetu normaali funkcioneet.... Link to comment Share on other sites More sharing options...
Klez Posted August 15, 2005 Report Share Posted August 15, 2005 a varbuut iesleedz error_reporting & display_errors ... un pasties ko saka php .... un uzliec iisaaku izpildes laiku visi triis ir pamainaami ieksh php.ini Link to comment Share on other sites More sharing options...
Recommended Posts