Re: [PHP] $_SESSION problem [NOW SOLVED]

2008-04-14 Thread Andrew Ballard
On Fri, Apr 11, 2008 at 5:34 PM, tedd <[EMAIL PROTECTED]> wrote: > At 11:33 AM -0400 4/11/08, Daniel Brown wrote: > > > On Fri, Apr 11, 2008 at 10:29 AM, Ford, Mike <[EMAIL PROTECTED]> > wrote: > > > > > > > > Sounds like a register_globals=On issue > > > > > > >It does to me, as well. I

Re: [PHP] $_SESSION problem [SOLVED (sort-of)]

2008-04-11 Thread Nathan Nobbe
top posting for the hell of it; disregard last post; i didnt see the [solved] sort-of thread. -nathan On Fri, Apr 11, 2008 at 7:44 AM, tedd <[EMAIL PROTECTED]> wrote: > At 10:12 PM -0400 4/10/08, Eric Wood wrote: > > > tedd wrote: > > > > > > > > [1] http://www.webbytedd.com/x/index.php > > > [2

Re: [PHP] $_SESSION problem

2008-04-11 Thread Nathan Nobbe
On Fri, Apr 11, 2008 at 6:30 AM, tedd <[EMAIL PROTECTED]> wrote: > Isn't that what the code is doing? > > I'm dumping the results in a print_r($_SESSION) -- isn't that he same > thing? sorry tedd; obviously i was hasty to post. but i figured just looking for the obvious would be a good exercise

Re: [PHP] $_SESSION problem [SOLVED (sort-of)]

2008-04-11 Thread Daniel Brown
On Fri, Apr 11, 2008 at 10:29 AM, Ford, Mike <[EMAIL PROTECTED]> wrote: > > Sounds like a register_globals=On issue It does to me, as well. I know, Tedd, that on the php1.net site that you mentioned to me off-list, I'm about 99% positive that it's the reason. Shared hosts generally keep

RE: [PHP] $_SESSION problem [SOLVED (sort-of)]

2008-04-11 Thread Ford, Mike
On 11 April 2008 14:45, tedd advised: > At 10:12 PM -0400 4/10/08, Eric Wood wrote: >> tedd wrote: >>> >>> [1] http://www.webbytedd.com/x/index.php >>> [2] http://sperling.com/x/index.php >>> >>> Both of these demos have the exact same code; and are on the same >>> server; with exactly the same

Re: [PHP] $_SESSION problem [SOLVED (sort-of)]

2008-04-11 Thread tedd
At 10:12 PM -0400 4/10/08, Eric Wood wrote: tedd wrote: [1] http://www.webbytedd.com/x/index.php [2] http://sperling.com/x/index.php Both of these demos have the exact same code; and are on the same server; with exactly the same php-info -- so, why do they behave differently re sessions? S

Re: [PHP] $_SESSION problem

2008-04-11 Thread tedd
At 5:05 PM -0600 4/10/08, Nathan Nobbe wrote: On Thu, Apr 10, 2008 at 4:29 PM, tedd <[EMAIL PROTECTED]> wrote: Hi gang: I'm stumped and in need of some expert explanation. I have prepared two demos (showing code) for your enjoyment: [1]

Re: [PHP] $_SESSION problem

2008-04-11 Thread tedd
At 5:10 PM -0600 4/10/08, Nathan Nobbe wrote: On Thu, Apr 10, 2008 at 5:05 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: On Thu, Apr 10, 2008 at 4:29 PM, tedd <[EMAIL PROTECTED]> wrote: you might just dump out the session component of the p

Re: [PHP] $_SESSION problem

2008-04-10 Thread mike
I believe you can accomplish the same thing by just putting this in: register_shutdown_function('session_write_close'); On 4/10/08, paragasu <[EMAIL PROTECTED]> wrote: > it looks fine to me. but i want to share one bad experience with sessions. > the code i wrote work just fine on my testing se

Re: [PHP] $_SESSION problem

2008-04-10 Thread paragasu
it looks fine to me. but i want to share one bad experience with sessions. the code i wrote work just fine on my testing server (please note, the phpinfo is same with my production server). after days of figuring out why the session do not work. finally, i found the solutions. the solutions is to

Re: [PHP] $_SESSION problem

2008-04-10 Thread Eric Wood
tedd wrote: [1] http://www.webbytedd.com/x/index.php [2] http://sperling.com/x/index.php Both of these demos have the exact same code; and are on the same server; with exactly the same php-info -- so, why do they behave differently re sessions? Strange. I've run into issues whenever I use

Re: [PHP] $_SESSION problem

2008-04-10 Thread Nathan Nobbe
On Thu, Apr 10, 2008 at 5:05 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Thu, Apr 10, 2008 at 4:29 PM, tedd <[EMAIL PROTECTED]> wrote: > you might just dump out the session component of the php config on each > site to ensure theyre the same. > on that last note, this could be useful, -

Re: [PHP] $_SESSION problem

2008-04-10 Thread Nathan Nobbe
On Thu, Apr 10, 2008 at 4:29 PM, tedd <[EMAIL PROTECTED]> wrote: > Hi gang: > > I'm stumped and in need of some expert explanation. > > I have prepared two demos (showing code) for your enjoyment: > > [1] http://www.webbytedd.com/x/index.php > [2] http://sperling.com/x/index.php > > Both of these