Re: [Catalyst] The old double-post issue

2006-09-22 Thread Wade . Stuart
[EMAIL PROTECTED] wrote on 09/21/2006 05:57:11 PM: > On Thu, Sep 21, 2006 at 05:04:38PM -0500, [EMAIL PROTECTED] wrote: > > But why are you returning an error page, doesn't the fact that the token > > no longer is valid mean that the form has already been submitted (return a > > oops this f

[Catalyst] noticpan opens

2006-09-22 Thread islue
Hi, all I tended not to release the site until I make it prettier. But, as most of us, I am busy with my job recently. However, something is better than nothing. A personal tough site, noticpan.org, is ready to work now. It sends mail daily as long as there is any update in your subscribe list.

Re: [Catalyst] The old double-post issue

2006-09-22 Thread Bill Moseley
On Fri, Sep 22, 2006 at 10:45:51AM -0500, [EMAIL PROTECTED] wrote: > > The token is stored in the session. So all that happens is upon > > submission a check is made that the token exists in the form and it > > matches the current one stored in the session. If so, it is deleted. > > When a new fo

Re: [Catalyst] The old double-post issue

2006-09-22 Thread Wade . Stuart
[EMAIL PROTECTED] wrote on 09/22/2006 01:19:52 PM: > On Fri, Sep 22, 2006 at 10:45:51AM -0500, [EMAIL PROTECTED] wrote: > > > The token is stored in the session. So all that happens is upon > > > submission a check is made that the token exists in the form and it > > > matches the current o

[Catalyst] ->model-> return values?

2006-09-22 Thread Roderick A. Anderson
I'm 'looked-out' Been searching and reading for the last two hours with no good results. A pointer/suggestion/clue-stick would be appreciated. Do I need to wrap a $c->model( 'TheModel' )->update( ... ) or $c->model( 'TheModel' )->delete( ... ) in an eval block to check for suc

Re: [Catalyst] how to get started?

2006-09-22 Thread Roderick A. Anderson
A. Pagaltzis wrote: > * Steve Atkins <[EMAIL PROTECTED]> [2006-08-21 20:20]: > >>No. I really don't like using anything other than cpan to >>install perl modules if I can possibly avoid it. I'm close to >>making an exception for catalyst, though, so I may give >>cat-install a try. > > > You didn

[Catalyst] ConfigLoader does not find my yml file

2006-09-22 Thread Dean Brockhausen
I am working through the tutorial in the manual and I have run accross small problem. In the Authentication step, you modify the yml file to name: MyApp authentication: dbic: # Note this first definition would be the same as setting # __PACKAGE__->config->{authen

[Catalyst] Session cookie and permanent state

2006-09-22 Thread fayland
hey, we have one function in our login interface like "remember me?" guess it's very common. I have some code as follows: -- if ($c->login($username, $password) { # make cookie expire if ($c->req->param('permanent')) { $c->session_expire_key( __user => 1