Jump to content

sylvain

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

sylvain's Achievements

Newbie

Newbie (2/6)

1

Reputation

  1. Many thanks Ryan for your answer ! I know exactly how many datas are stored, their lenght and from where it can be posted. But you're right, it's not the more secure way if we don't take care about security holes. Thank you Ryan, PW is a great tool !
  2. Hello Ryan, yes it's exact ! I want to store an array because I've several search engines on my home page. it's easy to retrieve datas (sanitized) from an engine by stocking an array in session. $session->engine1datas, $session->engine2datas, $session->engine3datas, where engine1datas, engine2datas, engine3datas are arrays. For example, I'm doing like that : $session->set("engine1datas",$input->post); But it doesn't work only when I try to read session on the home page, that's strange...
  3. Hello all ! I'm using session to store some search parameters. It's ok on subpages but when I try to print session vars, there's something strange : __PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] => WireInputData [stripSlashes:protected] => 0 [data:protected] => Array ( [cmbtype] => voiture [cmblargeur] => 7 [cmbhauteur] => 0 [cmbdiametre] => 10 [cmbcharge] => 0 [cmbvitesse] => 5 [cmbmanufacturer] => [price] => ) ) and on the other pages, everything seems to be correct : WireInputData Object ( [stripSlashes:protected] => 0 [data:protected] => Array ( [cmbtype] => voiture [cmblargeur] => 7 [cmbhauteur] => 0 [cmbdiametre] => 10 [cmbcharge] => 0 [cmbvitesse] => 5 [cmbmanufacturer] => [price] => ) ) Do you have an idea ? For information, I do not stock a value, but an array. Thank you !
×
×
  • Create New...