aren't cookies global? |
(11-09-2017, 02:24 PM)as richb201 Wrote: I am having an issue with my app. I am using two different Codeigniter addons, codexworld's "user registration and login" and Grocery Crud. My app starts out allowing a user to login with "user reg and login". This happens in controller A. Once they login I store their userid in a cookie using the CI cookie helper. Then I redirect to controller B which contains the Grocery Crud. I try to read the userid cookie that I set with controller A, in a function in controller B, but it is blank. I guess you mean this https://www.codexworld.com/codeigniter-u...in-system/ article. In this article author used session to keep userid. Nevertheless if you want to use cookies I suggest you to read this https://stackoverflow.com/questions/6253...s-sessions article. |
Messages In This Thread |
aren't cookies global? - by richb201 - 11-09-2017, 02:24 PM
RE: aren't cookies global? - by neuron - 11-09-2017, 11:40 PM
RE: aren't cookies global? - by richb201 - 11-10-2017, 01:51 AM
RE: aren't cookies global? - by dave friend - 11-13-2017, 09:47 AM
RE: aren't cookies global? - by InsiteFX - 11-10-2017, 05:12 AM
RE: aren't cookies global? - by richb201 - 11-11-2017, 11:28 AM
RE: aren't cookies global? - by PaulD - 11-11-2017, 12:29 PM
RE: aren't cookies global? - by richb201 - 11-11-2017, 12:43 PM
RE: aren't cookies global? - by PaulD - 11-11-2017, 12:55 PM
RE: aren't cookies global? - by richb201 - 11-13-2017, 10:56 AM
RE: aren't cookies global? - by dave friend - 11-13-2017, 02:42 PM
RE: aren't cookies global? - by richb201 - 11-13-2017, 03:15 PM
RE: aren't cookies global? - by dave friend - 11-13-2017, 06:29 PM
RE: aren't cookies global? - by richb201 - 11-14-2017, 03:53 PM
RE: aren't cookies global? - by InsiteFX - 11-15-2017, 03:50 AM
|