thanks for the reply.
Apologies, but not entirely sure of how to create the endpoint in the theme.
Have you got a quick example?
Cheers
Sorry, one more thing. Should the returned cookie be set automatically via the set-cookie header? or should it be set manually?
cheers
dave
My bad, just realised that after i wrote it!
Thanks for that.