[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Frames and CGI::Sessions


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
sessions, as long as you pass the right path setting when you create
the cookie.  Maybe you should show use your CGI::Session code?

> That is precisely why I ask the original question. How can I let the
> frames know about each other?

Stop worrying about frames.  Your real problem is that you've got two
scripts and they're not using the same session data when talking to
the same user.  Once you solve this problem I think your frame problem
will disappear.

-sam

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.