When you are using cøøkíé, you can set the expiry of it. So that if the cøøkíé did not meet the expiry you can access its value, even you open/close your browser. But when you are using SESSION you can't set the expiry of it and when you close your browser and open it again...the data you stored in session are lost. It will be deleted automatically when you left your browser.
Depende po sa site na nibi-visit nyo. Ang alam ko lang po kc ang cøøkíé ginanagamit para maretrieve ung data. Temporarily dito nila ini-store ung mga di naman gaanong complicated na data.
Pagkakaalam ko idol dapat lahat ng cøøkíés nageexpire eh as per specification You do not have permission to view the full content of this post.Log in or register now.
Pagkakaalam ko idol dapat lahat ng cøøkíés nageexpire eh as per specification You do not have permission to view the full content of this post.Log in or register now.
I think cøøkíé Expiry can only set up to 20 years, because I tried to set the cøøkíé to set("cøøkíé_name","cøøkíé_value",time()+630720000,"/");...and it is still working but when I multiply it to 5 it gives me 36 years back or the cøøkíé expiry set to 1981...
I think cøøkíé Expiry can only set up to 20 years, because I tried to set the cøøkíé to set("cøøkíé_name","cøøkíé_value",time()+630720000,"/");...and it is still working but when I multiply it to 5 it gives me 36 years back or the cøøkíé expiry set to 1981...
Opinion lang po ano...ang cøøkíé much better if ang user ay gumamit ng sarili nitong pc or any personal computing device used to connect the internet...kasi pwede ma store ang values ng any info ng user whether the browser is in execution or not...that is why may mga option ang mga website na "remember password"...yung session naman if you want your users to use their credential as long as they are using it or as long as users browser is open...
Depende po sa app na gagamitin or much specifically sa privacy ng page:
cøøkíé - kapag gusto mo maretain yung info or login status ng user sa specified time kahit iclose pa yung browser
Session - kapag gusto mo mawala yung logged in status kapag nagclose na ng browser