That's it. Setting use_trans_sid to 1 got sessions working. I'm now getting PHPSESSID=7398a182a64f0b2603e369812e130727 appended to the end of the page2.php URL and only one session file in my temp directory.
One final question. In the php.ini file it says that "Use of trans sid may risk your users security. ; Use this option with caution." If you don't use this option because of the security impications how else should you get sessions working? Thanks Shaun PS Marek I'd forgotten but I'd got cookies working yesterday using the code you suggested. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php