RE: [PHP] msession - giving me a hard time

2003-11-17 Thread Guillaume Dupuis
: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:16 AM To: Guillaume Dupuis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] msession - giving me a hard time From: "Guillaume Dupuis" <[EMAIL PROTECTED]> > This works. My second page has the suffi

Re: [PHP] msession - giving me a hard time

2003-11-17 Thread CPT John W. Holmes
From: "Guillaume Dupuis" <[EMAIL PROTECTED]> > This works. My second page has the suffix '?PHPSESSID=e6t9tu43j9tj39j...', > that matches the 'echo $sessid' I've added to your script above, so this > part did work. But to test it, I do this in my second page: > > session_start(); > $sessid = sessi

RE: [PHP] msession - giving me a hard time

2003-11-17 Thread Guillaume Dupuis
W. Holmes [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 8:29 PM To: Guillaume Dupuis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] msession - giving me a hard time Guillaume Dupuis wrote: > This is now my initial page: > > session_start($_GET['SID']); > echo SID; > ?> &g

Re: [PHP] msession - giving me a hard time

2003-11-15 Thread Marek Kilimajer
John W. Holmes wrote: Heh... okay, let's start over. From Server1: If you create a link like this: Server 2 The problem with SID is that it is defined as session_name=session_id if the client did not send session cookie. Otherwise it will be an empty string. So the proper way is Server 2

Re: [PHP] msession - giving me a hard time

2003-11-14 Thread John W. Holmes
Guillaume Dupuis wrote: This is now my initial page: And it returns nothing to me. Heh... okay, let's start over. From Server1: If you create a link like this: Server 2 Do you see the session ID appended to that URL? If you do, then a simple session_start() on the server2/page.php will be

RE: [PHP] msession - giving me a hard time

2003-11-14 Thread Chris Shiflett
--- Guillaume Dupuis <[EMAIL PROTECTED]> wrote: > session_start($_GET['SID']); > echo SID; > ?> I think SID is a constant that will be something like this: ?PHPSESSID=12345 or nothing. It is this way so that you can use it to append to a URL, and it will not add anything to the URL if there is

RE: [PHP] msession - giving me a hard time

2003-11-14 Thread Guillaume Dupuis
Guillaume Dupuis; [EMAIL PROTECTED] Subject: Re: [PHP] msession - giving me a hard time From: "Guillaume Dupuis" <[EMAIL PROTECTED]> > I've tried your suggestion and yes, I am transferring the SID variable to > the next page... but I don't know if I am doing

RE: [PHP] msession - giving me a hard time

2003-11-14 Thread Guillaume Dupuis
] Subject: Re: [PHP] msession - giving me a hard time From: "Guillaume Dupuis" <[EMAIL PROTECTED]> > I've tried your suggestion and yes, I am transferring the SID variable to > the next page... but I don't know if I am doing the this right. > > This is

Re: [PHP] msession - giving me a hard time

2003-11-14 Thread CPT John W. Holmes
From: "Guillaume Dupuis" <[EMAIL PROTECTED]> > I've tried your suggestion and yes, I am transferring the SID variable to > the next page... but I don't know if I am doing the this right. > > This is the code I use: > --- > session_start(); > $SID = session_id(); > echo $SID; > ?> > > LinuxBox2 > -

RE: [PHP] msession - giving me a hard time

2003-11-14 Thread Guillaume Dupuis
n advance, your help is greatly appreciated, Guillaume -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 3:16 PM To: Guillaume Dupuis; [EMAIL PROTECTED] Subject: Re: [PHP] msession - giving me a hard time From: "Guillaume Dupuis&q

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread Chris Shiflett
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > msession provides data storage, but you need a way to associate a > session with browser, this is usualy done with cookies and GET and POST > variables. Since cookies are send only to the originating domain, they > are ruled out if you wont to pas

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread Marek Kilimajer
Chris Shiflett wrote: Are SERVERA and SERVERB in the same cluster? I might be misunderstanding the situation here, but I thought this was the point of msession - to provide a seamless session data store among a cluster of servers without needing to store the session data in a database. I would thin

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread Chris Shiflett
--- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote: > > Now, I am testing the interaction of 2+ servers working together. From > > SERVERA I create and echo the my SID using "echo session_start(); echo > > session_id();echo $SID;", and then I follow a link (within the same > > browser session) to S

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread CPT John W. Holmes
From: "Guillaume Dupuis" <[EMAIL PROTECTED]> > Now, I am testing the interaction of 2+ servers working together. From > SERVERA I create and echo the my SID using "echo session_start(); echo > session_id();echo $SID;", and then I follow a link (within the same browser > session) to SERVERB and then

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread Marek Kilimajer
Guillaume Dupuis wrote: Hi, I need to keep the same session between several php servers, so I decided to go with msession. Apache(2.0.47), php(4.3.3) and msession(the latest downloaded last week) are all installed on both of my Linux servers (both RedHat 7.2). When I test them independently, all

[PHP] msession - giving me a hard time

2003-11-13 Thread Guillaume Dupuis
Hi, I need to keep the same session between several php servers, so I decided to go with msession. Apache(2.0.47), php(4.3.3) and msession(the latest downloaded last week) are all installed on both of my Linux servers (both RedHat 7.2). When I test them independently, all seems to work well, Gooo

[PHP] msession - giving me a hard time

2003-11-13 Thread Guillaume Dupuis
Hi, I need to keep the same session between several php servers, so I decided to go with msession. Apache(2.0.47), php(4.3.3) and msession(the latest downloaded last week) are all installed on both of my Linux servers (both RedHat 7.2). When I test them independently, all seems to work well, Gooo