Jump to content

Archived

This topic is now archived and is closed to further replies.

OOP

PHP sessions

Recommended Posts

Hi there,
is it true that if you use [b]session[/b] to track your users in a very big website affects the server performance? and if yes, can we say that cookies can be the alternative?

I am just confused? which is better sessions or cookies?

thanks in advance for your usual help

regards,
OOP

Share this post


Link to post
Share on other sites
i dont know the answer, but i use sessions and it doesnt seem to effect my server..... well i dont think

Share this post


Link to post
Share on other sites
thanks a lot brown2005 for the reply  ;).

i just heard this from a friend of mine.

Any way, let us wait and see the rest.

Share this post


Link to post
Share on other sites
Well if you have users you need a way to have them logged in etc. and since cookies are only for long term re-sign-in then sessions are the only way, and as far as I know the PHP standard for tracking users.
Unless you're expecting thousands of users at once I wouldn't worry at all.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.