http://www.perlmonks.org?node_id=333388


in reply to Re: Re: Re: CGI::Application design strategy
in thread CGI::Application design strategy

And can you tell me what happens when users hit reload on their browsers? If you redirect users, they will not be able to reissue a command by reloading the login_update run mode. Nice, isn't it? :)

Ciao, Valerio

  • Comment on Re: Re: Re: Re: CGI::Application design strategy

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: CGI::Application design strategy
by dragonchild (Archbishop) on Mar 03, 2004 at 13:23 UTC
    I implement logins using returns and if you have properly factored your code so each run-mode doesn't do more than it absolutely needs to, there's no problem. Remember - until the user has successfully logged in, the user can only see one page - the login screen. So what if they hit reload?

    ------
    We are the carpenters and bricklayers of the Information Age.

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.