Search found 1 match

by bcarl314
Apr 21, 2009 11:32 am
Forum: XFileSharing Pro
Topic: Setting custom cookies with $ses->setCookie
Replies: 1
Views: 1955

Setting custom cookies with $ses->setCookie

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... $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