XFileSharing Pro - Setting custom cookies with $ses->setCookie

Message
Author
bcarl314
Posts: 1
Joined: Apr 21, 2009 11:30 am

Setting custom cookies with $ses->setCookie

#1 Postby bcarl314 » Apr 21, 2009 11:32 am

I'd like to set a few custom cookies using the $ses->setCookie method, but I'd like them to expire after 30 days.

I'm currently trying this...

Code: Select all

$ses->setCookie('special_id',$special_id,"+30d");
to no avail. Can anyone help with the proper method to set a cookie using the $ses object?

Thanks

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Apr 22, 2009 3:48 am

Not possible right now. Will implement in next version.