Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Think about Loose Coupling
 
PerlMonks  

Re: CGI::Application redirecting from one handler to another.

by valdez (Monsignor)
on Jan 02, 2004 at 12:41 UTC ( [id://318365]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 12: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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://318365]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.