dear cata-list,

i need a little help ...
its about sessions.

i'm trying to use this super nice jquery file uploader with progress bar (http://www.uploadify.com/). the only problem is that the upload request is done via a flash-swf thingie and uploadify (and/or flash) is not able to deliver session- cookies to my catalyst app.
BUT uploadify can sent params with the request.
of course uploading should be only possible if the user is logged in. so i need to restore the session manually.
so i pass the session-id as an param to by app controller like:

        sub json_create : Local {
                my ($self, $c) = @_;
                warn "received sessoin id: " . $c->req->param('session_id');
                ...
        
the problem is i did not manage to restore the session from the session-id manually. i did try to call some of the functions of Plugin::Session manually, but it did not work out.

normally i use:

        use Catalyst qw/ ....
                Authentication
                Authorization::Roles
                Authorization::ACL

                Session
                Session::Store::FastMmap
                Session::State::Cookie
        ...
for session and auth handling.

thanks for help!
bernhard bauch



Bernhard Bauch, Webdevelopment
ZSI - Zentrum für soziale Innovation
[email protected]


_______________________________________________
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