Hello everyone,
I was wondering if there is an easy way to read a cookies contents. For example I set a cookie..
<MvEVAL EXPR="{miva_output_header('Set-Cookie','name=peter')}">
<MvEVAL EXPR="{miva_output_header('Set-Cookie','color=red')}">
But the only means by which I can see to access the cookies contents is the s.http_cookie variable but that only returns the following...
name=peter; color=red
Is there an easier way of accessing the cookies contents (The s.http_cookie variable does not have any arrays or branches) or do I need to get creative with the gettoken() function?
Many thanks for any assistance anyone can provide.
I was wondering if there is an easy way to read a cookies contents. For example I set a cookie..
<MvEVAL EXPR="{miva_output_header('Set-Cookie','name=peter')}">
<MvEVAL EXPR="{miva_output_header('Set-Cookie','color=red')}">
But the only means by which I can see to access the cookies contents is the s.http_cookie variable but that only returns the following...
name=peter; color=red
Is there an easier way of accessing the cookies contents (The s.http_cookie variable does not have any arrays or branches) or do I need to get creative with the gettoken() function?
Many thanks for any assistance anyone can provide.
Comment