How to work with session variables in php mvc pattern

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2010-03-25T06:51:53Z Indexed on 2010/03/25 6:53 UTC
Read the original article Hit count: 392

Filed under:
|
|

Hello, I just found out that I loose any reference to the session array if I create a new view and try to set a session variable in the controller. The array just comes out as empty. I actually try to use the session array to store the post vars from a multistep registration form. This was actually working when the php was spachetticode, but now that I dumpt everything in a mvc pattern, it is not functioning anymore. Can anyone explain what is going om here and possibly offer a solution om how to work with the session array? Thanks in adv, Richard

© Stack Overflow or respective owner

How to work with session variables in php mvc pattern

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2010-03-25T06:17:09Z Indexed on 2010/03/25 6:23 UTC
Read the original article Hit count: 392

Filed under:
|
|

Hello, I just found out that I loose any reference to the session array if I create a new view and try to set a session variable in the controller. The array just comes out as empty. I actually try to use the session array to store the post vars from a multistep registration form. This was actually working when the php was spachetticode, but now that I dumpt everything in a mvc pattern, it is not functioning anymore. Can anyone explain what is going om here and possibly offer a solution om how to work with the session array? Thanks in adv, Richard

© Stack Overflow or respective owner

Related posts about php

Related posts about mvc