On Tuesday, October 6, 2015 at 7:34:16 AM UTC-5, Stefan Adams wrote:
>
>
> On Mon, Oct 5, 2015 at 9:52 PM, Garry Taylor <[email protected] 
> <javascript:>> wrote:
>
>> On my laptop I am running Linux Mint with Perl 5.18.2 and Mojolicious 
>> 6.14.  On the Raspberry, I am running Raspbian Wheezy, with Perl 5.14.2 
>> (the latest available with the default archives when doing apt-get) and 
>> Mojolicious 6.14. Any help you could offer in getting this working would be 
>> greatly appreciated.
>
>
> Maybe test it on your laptop by using Perlbrew and installing 5.14.2?  Or, 
> of course, if possible install Perlbrew and 5.18.2 on your Pi?
>

I installed PerlBrew on the Raspberry Pi and used it to install Perl 5.18.2 
and Mojolicious 6.14, but when using it to run the sample script, I get the 
same result.  The server running on Pi doesn't put anything into the cookie 
and the one running on the Linux laptop does.  Since then, I have installed 
a version of Safari (v.5.1.7) on a Windows PC and I see similar results 
there as well, so it is not limited to the iPhone browser.  I've also 
noticed that if I set the "secret" for the session, the cookie stored on 
the iPhone from the Pi has a size now, but the contents are still empty 
(verified by throwing in a render_event to show the session contents in the 
browser).  It sounds like something is preventing the data that is stored 
into the session by calling "session()" from either getting sent to or 
being accepted by the Safari browser in the code running on the Pi. 
(Perhaps some module called by Mojolicious in packaging the session?) 

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to