generating of capture and data submitting - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: generating of capture and data submitting (/showthread.php?tid=66946) |
generating of capture and data submitting - mstdmstd - 12-21-2016 Hi, In 3.1.0, ENVIRONMENT=development project I made a form for user registering which is added by form submitting Code: <form role="form" class="form-horizontal" action="[url=http://local-wprods.com/register]http://local-wprods.com/register[/url]" method="post" accept-charset="utf-8" id="form_register" name="form_register" enctype="multipart/form-data"> I use ajax code for (re)generating of capture and when setting values for capture I see next parameters Code: $this->session->userdata('register_expired_time')::Array But submitting form I see: Code: $this->session->userdata('register_expired_time')::Array session is different and generated word/time are empty. Why so and how to fix it? Can both generating of capture and data submitting be made in ajax? Which decision is better ? Thanks! |