Thanks Mike,
I think using session will solve the problem of some user having
difficulties in loign.


----- Original Message -----
From: "Mike Brum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 21, 2003 4:12 PM
Subject: RE: [PHP] Cookie or Session??


> It really depends on what you want to do.
>
> Cookies are client-side information and thus you can run into issues where
> clients don't allow cookies, have cookie-blocking apps or have outdated
> software that doesn't support them (though the latter continues to become
> less of an option as time passes).
>
> Sessions are server-side information that allows you a lot more control of
> the information and allows better manipulation of it. PHP has really nice
> session management and makes using them quite painless. The only downside
> really is that it adds more load to your servers.
>
> If you have a machine that's not under insane load all the time, you might
> want to give sessions a try. Once everything's configged properly (which
> shouldn't be hard at all - and it might even be turned on already!), to
get
> a user to log in, all you'll need to do is perform the DB password
> authentication and then pass the session information from script to
script.
>
> Good luck.
>
> -Mike
>
> -----Original Message-----
> From: Awlad Hussain [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 21, 2003 11:00 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Cookie or Session??
>
>
> Managing user login
> Whats the best option to use.. cookie?? or session??
>
> Currently i am using cookies and sometime user complain they can't login,
>
> what would you suggest?
> -awlad
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to