[wp-hackers] Re: My plugin is losing authentication on one page.
ryan at boren.nu
Tue Nov 11 20:43:29 GMT 2008
On Tue, Nov 11, 2008 at 12:27 PM, Glenn Ansley <glenn at glennansley.com> wrote:
> I changed my form's post action from an absolute URL to a relative and it
> works now. Is this best practice?
> I guess there's a gap somewhere in my internal knowledge bank about how
> cookies work with POST data... and I was hoping it was server related.
> Anyway, I enjoyed the conversation with myself. I hope someone somewhere
> benefits at some point.
WP delivers auth cookies only to wp-admin and the plugins directory.
You can launder your POST requests through admin-post.php to make sure
they always have cookies set.
More information about the wp-hackers