So if you do something like:

if ($c->session->{order}) {
 # process order
}

The session cookie looks something like this:

{"expires":1547178562,"cart":{}}

Is there a way to test for the existing of keys in the session has that 
won't cause it to string into existence? Using 'exists' or 'defined' has 
the same problem. I understand why, but I'm not sure how people get around 
that unless it's to work more directly with the cookie.

Thanks!

V

-- 
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 https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to