dynamic session in PHP?

  • Thread starter Thread starter Saka
  • Start date Start date
S

Saka

Guest
i always maintain static session like if some one want to login
then i check his username and password against database if the result is true, then i start a new session session_start()
and create session variable like $_SESSION('username')=id;
this is all about i do for maintaining session and when he logs out
i destroy session.
i know this is nit much for maintaining security
i knew about dynamic session but i dont know to work with dynamic session

please help me with example and some explanation
 
Back
Top