1) Install the Debug Kit (https://github.com/cakephp/debug_kit) and examine the contents of your session 2) Are you loading both the Session component and the Session helper? 3) How are you writing to and reading from the session (please show code)? 4) What do you see when you die(debug($this->Session)); immediately before and then immediately after writing to the session? 5) What do you see when you die(debug($this->Session)); immediately before and then immediately after reading from the session?
Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 13 Dec 2010, at 08:25, dtemes wrote: > Without looking at your code nor knowing more about your environment I > guess it will not be easy to help you. > > Are you sure the code in your login action is being executed? (if > using auth check the autoRedirect variable) > > On 12 dic, 16:37, Rishi <[email protected]> wrote: >> Does anyone have any idea of what is going on !!!!! ...... its dealing >> with sessions. I really need some wayout. Please help !!! >> >> On Dec 10, 10:42 am, Rishi <[email protected]> wrote: >> >>> Hi, >> >>> No. I am not trying to switch between protocols. >> >>> On Dec 8, 11:47 pm, Jeremy Burns | Class Outfit >> >>> <[email protected]> wrote: >>>> Are yo switching between http and https? >> >>>> Jeremy Burns >>>> Class Outfit >> >>>> [email protected]http://www.classoutfit.com >> >>>> On 9 Dec 2010, at 02:43, Rishi wrote: >> >>>>> Hi All, >> >>>>> I am new Cakephp. I am using simple login mechanism ( not the standard >>>>> Auth) for checking in user login. I set a session variable in the >>>>> login action and try to access the variable in "graph" action. I am >>>>> unable to read the variable. When I do a var_dump, i get NULL. I have >>>>> tried all the options suggested by users in this group like setting >>>>> security low/medium. Changed cake_session.php @ like 595 >> >>>>> if(session_id() == '') { >>>>> session_start(); >>>>> } >> >>>>> I am using CakePhp 1.3 and Php 5.2. >> >>>>> I have been trying to get this up for past couple of days. Please help >>>>> me to solve this problem.!!!!!! >> >>>>> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers >>>>> with their CakePHP related questions. >> >>>>> 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 >>>>> athttp://groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
