in reply to Re^2: CGI::App::Session param not getting saved
in thread CGI::App::Session param not getting saved

bradcathey,
Are you calling the flush() method explicitly or are you letting the object do it for you in DESTROY? I ask because the docs refer to a ticket complaining that in some cases, session data is not saved unless called explicitly. It is interesting that the behavior is inconsistent.

Try flush() in the teardown method.

Cheers - L~R

  • Comment on Re^3: CGI::App::Session param not getting saved

Replies are listed 'Best First'.
Re^4: CGI::App::Session param not getting saved
by bradcathey (Prior) on Jan 24, 2007 at 01:22 UTC

    Actually Limbic~Region, I am calling flush() in the tear down, but not in that module (there is a redirect from where I am setting the account_id. It happens in a latter module as the user exits the checkout process in an e-comm site.

    I think the next thing to try is exiting before the redirect to see if it's happening before or after that.


    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot