Thanks for your suggestion, Stephen! I tested it and - after some slight tweaking - could make it work the way I want. :-)

But I'd still like to know why my original version doesn't work. Passing "$c->model('MotsDB::Mandator')" to a template via the stash works perfectly in an action without 'redirect'. But since my login action ends with a redirect, I tried passing "$c->model('MotsDB::Mandator')" via the session or via the flash. Both didn't work. Me confused...

--Pierre

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to