ValdisK Posted May 26, 2009 Report Share Posted May 26, 2009 Sveiki, gribeeju noskaidrot, kaa var noskaidrot, kaapeec Sesija ne-expire-ojas? Pamainot php.ini: session.cookie_lifetime no 0 uz piem. 30. arii nekas nenotiek.. :( Quote Link to comment Share on other sites More sharing options...
cucumber Posted May 27, 2009 Report Share Posted May 27, 2009 kaut ka neticas. paradi kodu? ja piespiedu karta vajag sesiju nonemt izmanto f-ju sission_destroy(); Quote Link to comment Share on other sites More sharing options...
ValdisK Posted May 27, 2009 Author Report Share Posted May 27, 2009 Kods jau tur iipashi nekaads.. session_start(); ... $_SESSION['mans_id'] = $row['id']; ... vnk ilgstoshi atstaajot browseri valjaa uz cita servera viss metaas nost.. bet tagad nemetaas. destroy jau ir manuaali.. izlogojoties. Quote Link to comment Share on other sites More sharing options...
marcis Posted May 27, 2009 Report Share Posted May 27, 2009 (edited) Tev kodā gadījumā nav kaut kāda vieta, kur sesija tiek atjaunota expire gadījumā? P.S. Tu tak web serveri restartēji, kad pamainīji konfigurāciju? Ko rāda session_get_cookie_params() ? Vēl vari pamainīt arī session.gc_maxlifetime, lai nokillotu sesiju servera pusē. Edited May 27, 2009 by marcis Quote Link to comment Share on other sites More sharing options...
ValdisK Posted May 28, 2009 Author Report Share Posted May 28, 2009 mainīju gan gc_maxlifetime, gan arī gc_ attīrīšanas procentus uz 100%.. bet serveri nenorestartēju, jo tas ir serveris.lv serviss.. lai gan viņi paši teica, ka jaunie settingi ejot bez restarta. Quote Link to comment 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.