Carry session to new browser

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Jim_Bo
Forum Contributor
Posts: 390
Joined: Sat Oct 02, 2004 3:04 pm

Post by Jim_Bo »

Hi,

if I want to save the session data within my public dir in a folder calles sessions .. how would it be writen into php.ini?

I have allready got register_globals turned off within php.ini file

When I tried to carry the session across the original browser was still open .. would the session have a timeout anyway rather than being destoyed upon the browser closing?

Thanks
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

All your questions are answered at http://www.php.net/session ;)

Things you might want to look into: session.save_path, session.gc_maxlifetime, session.cache_expire
Post Reply