Click to See Complete Forum and Search --> : cgi::session question


staceywc
11-29-2005, 11:00 AM
I'm a perl newbie with a quick question. I've been working on a few scripts to work on my site and recently decided to use the session component. I'm wondering if I have 2 scripts going at once (one being a side navigation type frame) and the other being the main script in the main frame, both of which are accessing the SID cookie when started...is there a problem with that? Also I want changes in the main window to affect the reading of the variables to the left, if that makes sense? I guess the overarching question is once the session is open on my domain, is it open regardless of the specific script or do I have to call it each time? Then does one script have to save the param for the other to know the difference?

Scriptage
12-04-2005, 08:56 AM
As long as both programs have access to the session id and are set up to use the same session directory then there shouldn't be a problem.

Regards