RE: [PHP] SESSIONS HELP
| From: | Jennifer Goodie | Date: | Fri, 09 May 2003 01:01:20 +0000 |
| Subject: | RE: [PHP] SESSIONS HELP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146950@lists.php.net to get a copy of this message | ||
> >>
> >> Jennifer,
> >> You do have a valid point in regards to saving and closing the
> >> session. BUT
> >> if I close the session, then what will happen when I try to access the
> >> session variables on the following page.
> --------------------[snip]--------------------
>
> Jennifer,
>
> there might be a valid point in using session_write_close() just before
> sending a header('Location: foo.php');.
Yeah, that is why in my previous answer to his question I told him to use
it. But then the response was to ask "Well, if I close my session, how do I
access it on the next page." Since I had pointed him to the manual section
on sessions in my previous post this sort of caused me to throw my hands up
in despair and give a "RTFM" manual response. I don't really have time to
waste trying to explain sessions to someone who won't do basic research for
themselves, as I am sure you don't either. I don't mind sharing the
knowledge that I have gained from years of programming in PHP with others, I
know how to do a lot of stuff that other people don't (such as use sessions,
apparently), but it does get exasperating when someone asks something that
they could have learned themselves from reading a page you sent them to,
especially when you just pointed them to the page not 5 minutes before.