PDA

View Full Version : Using CGI::Session


ian17
03-12-2003, 08:02 AM
Anybody got experience of using CGI::Session ?

I've written a script, index.cgi, which uses a session to hold variables. The script initially displays a form, and depending on user input, it's re-invoked to display different forms, selected by Submit values and hidden variables.

It works for a couple of steps, then it starts a new session instead of continuing with the existing one, and immediately dies because it can't find the variables it was relying on.

I've got no idea how to debug this. I can see the new session appearing in the session directory, and I can see the new session as a new cookie on my browser. I can't figure out what event causes the new session to start. Any suggestions?