Jump to content

Cookie deletion problem


Recommended Posts

hello,

i have problem in deleting custom cookie that i have made from javascript.

i'm trying to implement facebook login module in my own site and store the facebook_id in cookie by using javascript.

 

i have no problem in login process, but the problem comes when logout.

in logout process i use set_cookie("cookie_name","",time()-3600) to remove the cookie but it won't work, this script i put in front_controller_module_class of facebook login module along with the other script that needed in logout process.

 

any idea how to remove the custom cookie from front_controller_module_class?

hope you can help me guys,

 

Thanks.

 

Link to comment
Share on other sites

×
×
  • Create New...