Re: [PHP] session id changing all the time on some pc's

2004-07-03 Thread Torsten Roehr
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > On Fri, 2 Jul 2004 22:45:23 + > > Curt Zirzow <[EMAIL PROTECTED]> wrote: > > > > > * Thus wrote Torsten Roehr: > > > > "Zilvinas Salt

Re: [PHP] session id changing all the time on some pc's

2004-07-03 Thread Torsten Roehr
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > No, this is exactly what I wanted to know. But it would contradict > > everything I experienced with sessions until now - and it does. I just > > tested your code (with session_start() also at the top of page2). It does

Re: [PHP] session id changing all the time on some pc's

2004-07-03 Thread Torsten Roehr
"Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 2 Jul 2004 22:45:23 + > Curt Zirzow <[EMAIL PROTECTED]> wrote: > > > * Thus wrote Torsten Roehr: > > > "Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message > > > news:[EMAIL PROTECTED] > > > > > > > > The

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Zilvinas Saltys
On Fri, 2 Jul 2004 22:45:23 + Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Torsten Roehr: > > "Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > > > > The only thing i want to know is all the truth about IE (6?) and cookies > > :) > > > > > > Heeel

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Curt Zirzow
* Thus wrote Torsten Roehr: > "Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > The only thing i want to know is all the truth about IE (6?) and cookies > :) > > > > Heeelp :) > > Sorry to say that but just DO NOT use cookies. You will always have problems > w

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
> No, this is exactly what I wanted to know. But it would contradict > everything I experienced with sessions until now - and it does. I just > tested your code (with session_start() also at the top of page2). It does > not work because there is absolutely no relation between page1 and page2 > with

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Torsten Roehr
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> The $_SESSION['sid'] will follow from page to page. As long as the user > stays in the current session, all $_SESSION variables will follow from > page to page as long as session_start() is used. > > > > OK, but HOW do

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Gerard Samuel
On Friday 02 July 2004 04:38 pm, Matthew Sims wrote: > As long as the user keeps his browser pointing at your site, then they'll > stay in the currect session. The moment they shut down the web browser, > the session is lost. > The logic doesnt compute with me. I guess I'll have to try this mysel

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
>> The $_SESSION['sid'] will follow from page to page. As long as the user stays in the current session, all $_SESSION variables will follow from page to page as long as session_start() is used. > > OK, but HOW do you manage that the user stays in the current session. Usually this is made sure by p

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Torsten Roehr
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Matthew Sims" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > >> > >> >> Instead of passing the session_id through the URL ($_GET) just assign > > it > >> >> to $_SESSION and pass that around. Then it'

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
> "Matthew Sims" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> >> >> Instead of passing the session_id through the URL ($_GET) just assign > it >> >> to $_SESSION and pass that around. Then it'll stay transparent to the >> >> user. >> > >> > Could you describe the last paragraph

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Torsten Roehr
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > >> Instead of passing the session_id through the URL ($_GET) just assign it > >> to $_SESSION and pass that around. Then it'll stay transparent to the > >> user. > > > > Could you describe the last paragraph a bit more i

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Gerard Samuel
On Friday 02 July 2004 02:13 pm, Torsten Roehr wrote: > Passing the session id via GET/POST may be ugly but makes you independent > of the browser's cookie settings. I would have to agree... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
>> Instead of passing the session_id through the URL ($_GET) just assign it >> to $_SESSION and pass that around. Then it'll stay transparent to the >> user. > > Could you describe the last paragraph a bit more in detail? Thanks in > advance! > > Torsten What if you used this? session_start(); $

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Torsten Roehr
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > "Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > >> On Fri, 2 Jul 2004 12:21:34 -0400 > >> Gerard Samuel <[EMAIL PROTECTED]> wrote: > >> > >> > On Friday 02 July 2004 12:12 pm, Zi

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
> "Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> On Fri, 2 Jul 2004 12:21:34 -0400 >> Gerard Samuel <[EMAIL PROTECTED]> wrote: >> >> > On Friday 02 July 2004 12:12 pm, Zilvinas Saltys wrote: >> > > I looked at server configurations but i couldn't find anything

RE: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Michael Sims
Zilvinas Saltys wrote: > The problem is as i understand IE is not accepting the cookie. So the > session id allways regenerates. Everything works fine with mozilla. [...] > The only thing i want to know is all the truth about IE (6?) and > cookies :) Could it be a problem with IE6 and P3P (http://

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Torsten Roehr
"Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 2 Jul 2004 12:21:34 -0400 > Gerard Samuel <[EMAIL PROTECTED]> wrote: > > > On Friday 02 July 2004 12:12 pm, Zilvinas Saltys wrote: > > > I looked at server configurations but i couldn't find anything usefull. I

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Zilvinas Saltys
On Fri, 2 Jul 2004 12:21:34 -0400 Gerard Samuel <[EMAIL PROTECTED]> wrote: > On Friday 02 July 2004 12:12 pm, Zilvinas Saltys wrote: > > I looked at server configurations but i couldn't find anything usefull. I > > tried to change IE settings to accept all cookies but nothing changed. > > > > Mayb

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Gerard Samuel
On Friday 02 July 2004 12:12 pm, Zilvinas Saltys wrote: > I looked at server configurations but i couldn't find anything usefull. I > tried to change IE settings to accept all cookies but nothing changed. > > Maybe someone knows where's the problem.. I dont know of all the specifics of your situat

[PHP] session id changing all the time on some pc's

2004-07-02 Thread Zilvinas Saltys
Hello, I have a strange problem. For example i have a script: Once it started a session the session_id should never change. It works on my localhost with default php configuration. I'm using mozilla firefox and IE. I put this script on some other server on the net. It works just fine too wit