Re: [PHP] Session vs Cookie Issues

2003-07-03 Thread Mika Tuupola
On Wed, 2 Jul 2003, Matt MacLeod wrote: > I've had similar issues using cookies. The cookie was storing my details > but only for the duration of the session despite having set the expiry > date to a time well into the future. Any ideas for why this may have > happened? Someone rm'ing

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Joel Rees
> If anyone can help shed any light on the sort of instability I'm seeing, > that would really help. Apache child processes die right and left, with > segfaults and bus errors. Hardware? Overly agressive optimization switches when you compiled? Using pre-release software somewhere in the chain? -

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Joel Rees
> based on what you're saying, I gather that if I were to choose to > use cookies, and if cookies were rejected by the user, PHP will default to > using sessions? It isn't cookies vs. sessions. It's { sessions by cookie vs. sessions by URL } vs building your own with either cookies or URL.

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Mike Migurski
>>The only major flaw I've found with PHP's session support is that it >>doesn't appear to be possible to force the data to be written without >>also closing the session. > >Mike - can you expand on your point above? I've running into this problem where--in an app with a lot of OOP and reference-p

RE: [PHP] Session vs Cookie Issues

2003-07-02 Thread Mike Migurski
> based on what you're saying, I gather that if I were to choose to >use cookies, and if cookies were rejected by the user, PHP will default >to using sessions? If you chose to use sessions, and cookies were rejected by the user, then PHP would append the session ID to each internal link, in

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Matt MacLeod
I've had similar issues using cookies. The cookie was storing my details but only for the duration of the session despite having set the expiry date to a time well into the future. Any ideas for why this may have happened? The only major flaw I've found with PHP's session support is that it do

RE: [PHP] Session vs Cookie Issues

2003-07-01 Thread Ow Mun Heng
e Migurski [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 11:47 AM To: Ow Mun Heng Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Session vs Cookie Issues > I know this topic has been talked about a LOT but all the info >I've managed to get from google is that there is no center /

Re: [PHP] Session vs Cookie Issues

2003-07-01 Thread Mike Migurski
> I know this topic has been talked about a LOT but all the info >I've managed to get from google is that there is no center / best option >to choose between using sessions or cookies. You're comparing apples and oranges -- cookies are one of the mechanisms by which PHP implements sessions.

[PHP] Session vs Cookie Issues

2003-07-01 Thread Ow Mun Heng
Hi All, I know this topic has been talked about a LOT but all the info I've managed to get from google is that there is no center / best option to choose between using sessions or cookies. Pros of Sessions 1. PHP does it all automatically