Welcome Guest, Not a member yet? Register   Sign In
CI sessions and AJAX
#17

[eluser]vickel[/eluser]
Ok, I came to the conclusion, that loading page "b" from within page "a" with Ajax (calling a CI controller function) updates the CI session cookie. But this CI session cookie values are only accessable in page "b" and not in page a. This is asynchronious behaviour. I write the CI session cookie value in a hidden div in page b which then can be read by a script from page a.

Hope this helps somone, pls. correct if I'm wrong ;-)


Messages In This Thread
CI sessions and AJAX - by El Forum - 01-10-2011, 11:27 AM
CI sessions and AJAX - by El Forum - 01-10-2011, 11:34 AM
CI sessions and AJAX - by El Forum - 01-10-2011, 11:52 AM
CI sessions and AJAX - by El Forum - 01-10-2011, 11:59 AM
CI sessions and AJAX - by El Forum - 01-10-2011, 12:01 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 12:17 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 12:24 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 01:44 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 01:59 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 02:10 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 02:13 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 02:19 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 02:37 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 02:52 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 03:01 PM
CI sessions and AJAX - by El Forum - 01-10-2011, 03:04 PM
CI sessions and AJAX - by El Forum - 01-12-2011, 02:24 PM
CI sessions and AJAX - by El Forum - 01-12-2011, 03:34 PM
CI sessions and AJAX - by El Forum - 01-12-2011, 04:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB