Session and redirecting
| From: | Didier McGillis | Date: | Thu, 05 Dec 2002 18:56:56 +0000 |
| Subject: | Session and redirecting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127184@lists.php.net to get a copy of this message | ||
I'm having some problems with sessions on this project I am doing for this one class. I know what I am doing with sessions on a certain level, as I use them with ASP and JSP apps. I notice that when I do session_start() the session SID or PHPSESSID doesnt appear until you refresh that page or go to the next page, I need the session to start on index, so do I have to plop a refresh statement in there? And why is it you have to do a session_start() on every page, could you put that in a header and have it be the same?
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963