Session/Cookie management with Codeigniter 4 |
(08-13-2023, 10:46 PM)InsiteFX Wrote: Don't use sessions for storing cart information use a secure cookie. Thanks for the revert @InsiteFX. I did think about doing this, but then the core requirment of the client is that we will not be saving any information on the user machine unless very much necessary and insisting in using server sessions for all such data. If you could just let me know as to why such session ID reset happens would have been of great help. I just tried the same flow of SSO login via core PHP and it worked fine without resetting session ID, but with codeigniter the session resets. I am guessing it is got to do with some configuration options, currently using the default Codeigniter 4 config option values. Just to mention it again that i am getting a POST request from the SOO callback url and that resets the session ID else everything works like a charm, with the session ID being maintained across the app pages. |
Messages In This Thread |
Session/Cookie management with Codeigniter 4 - by alvin_araujo - 08-13-2023, 02:47 PM
RE: Session/Cookie management with Codeigniter 4 - by InsiteFX - 08-13-2023, 10:46 PM
RE: Session/Cookie management with Codeigniter 4 - by alvin_araujo - 08-13-2023, 11:07 PM
RE: Session/Cookie management with Codeigniter 4 - by kenjis - 08-14-2023, 10:21 PM
RE: Session/Cookie management with Codeigniter 4 - by kenjis - 08-14-2023, 10:10 PM
|