Uldeens Posted April 14, 2006 Report Share Posted April 14, 2006 Teiksim php chats: Lapas sakumaa tiek uzsakta sesija session_start() Vai ir nepieciesams lapas beigaas kautkaa aizvert sesiju ??? Vienkaarsi es refreshoju manuaali vairaakas reizes no vietas un erors tipa mex sesiju skits parsniegts. Link to comment Share on other sites More sharing options...
Delfins Posted April 15, 2006 Report Share Posted April 15, 2006 Cerams, ka refrešojot tu netaisi jaunu sessiju? PS: sesija parasti auto-closējas... ja vajag implicit, tad session_write_close() Link to comment Share on other sites More sharing options...
SkaKri Posted April 15, 2006 Report Share Posted April 15, 2006 Beidz sesiju, ja piem. 5min nav nekādas darbības no lietotāja puses (kaut vai - aizvēris logu, netiek ievadīts teksts, un tml.). Link to comment Share on other sites More sharing options...
Uldeens Posted April 15, 2006 Author Report Share Posted April 15, 2006 Paldies. Link to comment Share on other sites More sharing options...
Uldeens Posted April 15, 2006 Author Report Share Posted April 15, 2006 Veel piemeram man sesijas id nododas caur get urlaa. index.php?sid=$sessijas id Sanak vajag sesijas id glabaat datubaazee un tad ja piemram 5min nekas nenotiek ka pareizi vinu aizver? Session_destroy($sesijas_id) ? Link to comment Share on other sites More sharing options...
Delfins Posted April 16, 2006 Report Share Posted April 16, 2006 ir tāda f-ja - session_id() Lasiet tač manuāli.. Link to comment Share on other sites More sharing options...
v3rb0 Posted April 16, 2006 Report Share Posted April 16, 2006 Uldeens: rtfm - tāds session_destroy($session_id) nemaz nav bool session_destroy ( void ) Link to comment Share on other sites More sharing options...
Recommended Posts