Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Ron Savage
Hi Folks Here is one solution: X Notes: o The left frame is blank, at first o The right frame runs t

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Ron Savage
On Mon, 05 Jul 2004 08:17:35 -0400, Cees Hek wrote: Hi Folks Thanx to everyone for their suggestions. And... > session. Do the programs actually need two different sessions for > each user? Possibly not - that's what I'm trying to determine. In fact, ideally not. > Secondly, how are your ses

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Sam Tregar
On Mon, 5 Jul 2004, Ron Savage wrote: > I'm running 2 CGI scripts, which are almost identical. But the fact > that there are 2 scripts means 2 sessions, and hence the left frame > does not know what the right frame is doing. This is not generally true. Scripts can share cookies, and therefore se

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Brett Sanger
> Secondly, how are your sessions implemented (cookies or URL based)? > Using a cookie based session with frames can lead to problems, because > on the first request to the page, the two frames will be requested in > parallel, and hence no sessions will be setup when both requests come > into t

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread William McKee
On Mon, Jul 05, 2004 at 08:17:35AM -0400, Cees Hek wrote: > Secondly, how are your sessions implemented (cookies or URL based)? > Using a cookie based session with frames can lead to problems, because > on the first request to the page, the two frames will be requested in > parallel, and hence n

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Patrick W. Fraley
Hi Ron, I have implemented a few projects using CGI::Application and using frames. The thing to look out for is to not load both frames at the same time, then you tend to generate 2 different sessions. Try loading the left frame first and then the right frame, kind of a staged loading, then ther

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Cees Hek
Ron Savage wrote: On Mon, 5 Jul 2004 10:26:26 +0300 (IDT), Gabor Szabo wrote: Now thinking aloud, is it possible that when the browser gets the page with the frame it does not send back the same cookie to each request, both to the right and the left pane ? Correct. I was hoping this would be clear

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Ron Savage
On Mon, 5 Jul 2004 10:26:26 +0300 (IDT), Gabor Szabo wrote: Hi Gabor > Now thinking aloud, is it possible that when the browser gets the > page > with the frame it does not send back the same cookie to each > request, both > to the right and the left pane ? Correct. I was hoping this would be cl

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Gabor Szabo
On Mon, 5 Jul 2004, Gabor Szabo wrote: On Mon, 5 Jul 2004, Ron Savage wrote: > I'm subscribed to the list, so no need to duplicate your post. sorry > > > I don't understand why is this different - from the point of view of > > the session management code - than accessing two separate pages > > o

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Ron Savage
On Mon, 5 Jul 2004 10:08:37 -0200 (GMT+2), Gabor Szabo wrote: Hi Gabor I'm subscribed to the list, so no need to duplicate your post. > I don't understand why is this different - from the point of view of > the session management code - than accessing two separate pages > one after the other. I

Re: [cgiapp] Frames and CGI::Sessions

2004-07-05 Thread Gabor Szabo
On Mon, 5 Jul 2004, Ron Savage wrote: > Hi Folks > > The 2 scripts are the same, just differing in the PARAMS: > My::Application -> new(PARAMS => {target => 'left'}) -> run(); > My::Application -> new(PARAMS => {target => 'right'}) -> run(); > > The problem is that each script creates its own CGI: