hi, everyone. i want to add the session_id() as a parameter for every link, where should I put the parameter in, It'll very simple.
Thanks ,thanks. rimoe 2009/2/7 Rimoe <[email protected]> > which one can help me? > according to my function of redirect, > > why is it I can't login like have a cookie. > > 2009/2/6 Rimoe <[email protected]> > > Hi, >> everyone, thank you for your read this topic. >> >> I blocked the cookies. >> I don't want to save the 'Session.cookie' in cookies. >> only let the 'Session.cookie' to transfer in my parameter. >> >> >> I have let the function of redirect like this: >> >> function redirect($url, $status = null, $exit = true) { >> { >> if (is_array($url)) { >> $url = >> array_merge($url,array("?"=>Configure::read('Session.cookie')."=".session_id())); >> >> } else { >> $url = >> $url."?".Configure::read('Session.cookie')."=".session_id(); >> } >> } >> (write in AppController) >> >> I can login .but I can't click any link, >> If I do this, I must login again, >> >> if you know the answer, please tell me, thank you very much. >> >> Thanks >> >> rimoe >> >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
