|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
About sessions
I saw many member area in to many scripts they doesn’t used session built-in at php my question is What advantage from create member area when we have session built-in at php ?
Thanks |
|
#2
|
|||
|
|||
|
hello MERSAL, and welcome to the forums
correct me if i'm wrong but the major benefits to sessions in PHP is that it allows cookies to be stored directly on the web server rather than the user's computer...this is very benefitial because this way, the webmaster has control, rather than the user's web browser (which means better support, since not everyone uses the same web browser )
__________________
-Alexander |
|
#3
|
|||
|
|||
|
Thanks Vasarab69,
I understand session built-in and cookie...but I have some ambiguous about member area class in concept only I want understand some things like store the sessionID, IP , user info and page location into database and in this case we will need connect to database every time if we need the user info of course if the time out is expiry . Now we have large number from connection to db and queries this will affect negative on performance scripts or web server if the site it have to many hits this in my opinion maybe true maybe not . |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > About sessions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|