Session Types

[email protected] ("Brian T. Allen")
Newsgroups php.version4
Message-ID <002701bfc4ea$8dc43260$2618b3cf@picard>
Hi *,

I have an e-commerce site, using sessions/cookies.  However, right now it is
only using per session cookies, when you close the browser, the cookie is
gone.

How can I have certain cookies be persistent (as long as possible), while
others may expire after 4 hours, and if they only have per session cookies
enabled in their browser to fall back to that?  Is that possible?

Also, is it possible to set a cookie after information has been displayed to
the page, or can it only be done in the headers, before output?

Thanks,
Brian Allen
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.