in reply to CGI::Application redirecting from one handler to another.

Few comments on your idea: the "create" run mode (or handler) could be invoked directly, is it safe? if you already have a session, why don't you place all sensible data in the session? building URLs by hand may cause some serious problems, try instead with URI->query_form.

Ciao, Valerio

Replies are listed 'Best First'.
Re: Re: CGI::Application redirecting from one handler to another.
by skx (Parson) on Jan 02, 2004 at 17:53 UTC

    The problem here is that the sessions are only really used when the user logs in - so they don't apply in a useful way at the point the account is created.

    Building URLs by hand is annoying, though I can use the ->param() function to make sure I've got everything I need.

    Steve
    ---
    steve.org.uk