Jump to content

Lite Cookies


inversesoft123

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.