inversesoft123 Posted March 22, 2010 Share Posted March 22, 2010 Hi All, Is there any lite login cookies to set on mobile browsers ? I am trying to set cookies using arrays. into browser but when user clicks on logout, on many mobile phone browses, basically symbian series 60 and some s60v3 browses. I am getting error. Bad Request But same thing wrks perfect on web browsers. logout.php $my_arr = array(); $my_arr[0] = $selectuser3[name]; $my_arr[1] = $selectuser3[temphash]; //create the list for the cookie $cookie_content = ""; foreach($my_arr as $key => $value){ $cookie_content .= $value . "|";} //trim the last | from the end $cookie_content = substr($cookie_content, 0, -1); setcookie("DomainCom", $cookie_content, time()-60*60*24*60); session_destroy(); whats wrong with mobile browsers ? Link to comment https://forums.phpfreaks.com/topic/196167-lite-cookies/ Share on other sites More sharing options...
inversesoft123 Posted March 23, 2010 Author Share Posted March 23, 2010 still unsolved .. why getting Bad Request ???? Plz help me. Link to comment https://forums.phpfreaks.com/topic/196167-lite-cookies/#findComment-1030343 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.