get or session?

Posted by Syom on Stack Overflow See other posts from Stack Overflow or by Syom
Published on 2010-05-19T14:16:40Z Indexed on 2010/05/19 14:20 UTC
Read the original article Hit count: 160

Filed under:

i have a login form, which is in login.php. after authorization i moove client to some.php file! so, from following two methods, which is better?


  1. i can send information aboud user id e.t.c by GET
  2. i can use SESSION - s for this

what is more preferred?

and two words about why i ask this question. i hear somewhere that SESSIONs aren't good programing method, and it's not suggested to use them in such situations...

thanks

© Stack Overflow or respective owner

Related posts about php