yeahz Posted November 21, 2009 Report Share Posted November 21, 2009 Kas par vainu, ka katru dienu no jauna jāielogojas iekšā? session_destroy() tiek izsaukts tikai kad nospiež uz logout. Nekad man vēl tāda lieta nav gadījusies. login: http://paste.php.lv/d859d9067b0a72dd8bcc5e616c5f6a3c?lang=php Quote Link to comment Share on other sites More sharing options...
101111 Posted November 21, 2009 Report Share Posted November 21, 2009 php.ini failā uzstādi session.gc_maxlifetime kādu gribi Quote Link to comment Share on other sites More sharing options...
marcis Posted November 21, 2009 Report Share Posted November 21, 2009 Tādas "nebeidzamās sesijas" taisa iesetojot klientam cepumu, kas identificē lietotāju, nevis visu laiku uz servera glabā atvērtu sesiju.. Quote Link to comment Share on other sites More sharing options...
101111 Posted November 21, 2009 Report Share Posted November 21, 2009 Jā, tas ir izklausās pēc labāka varianta. 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.