January 25, 200818 yr Hello All, I've been confused with PHP session that shortly expired in my hosting. It maybe just take 10 - 15 minutes. Can anyone give me a suggestion what I have to do or any other alternative instead session ? thanks
January 25, 200818 yr cookies... a session is meant to expire when you leave the site, close your browser, or restart your computer, depending on your browser settings - it usually isn't time based. instead of using a session, you can use a fully-fledged cookie, like so: setcookie( "key", "value", time()+3600*NUMBER_OF_HOURS ); where a session is the "just till i leave" type, this is more akin to the "remember me" button.
January 26, 200818 yr Author oohh.. Browser related ... Ok I'll try use fully-fledged cookie. See next.. thx master
Create an account or sign in to comment