[Backgroundrb-devel] accessing session data in worker

Michael D'Auria michael.dauria at gmail.com
Mon Oct 16 18:21:21 EDT 2006


Do you have a code snippet to show?  The Session model should be availible
if you are loading rails.

On 10/16/06, Bill Walton <bill.walton at charter.net> wrote:
>
>  Is there something special I need to do to access session data in a
> worker?
>
> I'm using an AR session store.  I've been working with Ezra's tutorial,
> modifying it a little here and there to figure it out.  So I changed the
> progress bar to a simple count-down in the worker which sends back the count
> to display in the view.  No big deal.  But if I try to access session data
> in the worker method, I get no count displayed in the view.
>
> Any ideas?
>
> Thanks,
> Bill
>
>
>
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20061016/7a150482/attachment.html 


More information about the Backgroundrb-devel mailing list