Welcome Guest, Not a member yet? Register   Sign In
Flashdata and refresh
#15

[eluser]mighty_falcon[/eluser]
Ok, so i did a number of tests with the profiler enabled and it still seems that the only way to have the flashdata is by doing a redirect of somekind...

The cart page is where I set the flashdata and it showed up fine in the session table in the DB. Once I click the login link to take me to the login page the redirect variable disappears. If I do a refresh to the login page, instead of a link, the redirect variable is there.

To eliminate any other errors coming from other parts of the code, i removed all other code from the login function and the redirect variable still disappeared.

I guess I will just have have an intermediate step which sets the flashdata and redirects to the login page.


Messages In This Thread
Flashdata and refresh - by El Forum - 07-09-2010, 10:21 AM
Flashdata and refresh - by El Forum - 07-09-2010, 11:04 AM
Flashdata and refresh - by El Forum - 07-09-2010, 11:36 AM
Flashdata and refresh - by El Forum - 07-09-2010, 12:52 PM
Flashdata and refresh - by El Forum - 07-09-2010, 01:19 PM
Flashdata and refresh - by El Forum - 07-10-2010, 04:15 AM
Flashdata and refresh - by El Forum - 07-10-2010, 09:40 AM
Flashdata and refresh - by El Forum - 07-10-2010, 10:18 AM
Flashdata and refresh - by El Forum - 07-10-2010, 11:22 AM
Flashdata and refresh - by El Forum - 07-10-2010, 12:14 PM
Flashdata and refresh - by El Forum - 07-10-2010, 01:34 PM
Flashdata and refresh - by El Forum - 07-10-2010, 05:33 PM
Flashdata and refresh - by El Forum - 07-11-2010, 12:53 AM
Flashdata and refresh - by El Forum - 07-11-2010, 02:54 AM
Flashdata and refresh - by El Forum - 07-13-2010, 01:06 PM
Flashdata and refresh - by El Forum - 08-02-2010, 01:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB