Welcome Guest, Not a member yet? Register   Sign In
redirect url_helper and hooking
#1

[eluser]Gerben van Eck[/eluser]
I have developed another session implementation using Memcached as a backend, and contrary to CI's native implementation I was planning to write all the data back to the "session store"(Memcache) on CI's "post_controller" or "post_system" hook (but probably the first).

I noticed however that the redirect helper does not trigger any of these hooks so I have now "hacked" a MY_url_helper containing a redirect function that calls the "write" function of my Session system.

If my client allows me I'd be happy to share the session system when it's ready of course, but it's not really flexible in choice of storage (file-based, memcache, native php, SQL database) so probably not useful for everyone.

So I guess this is a "feature request" for the redirect function to trigger some hook that I can handle.




Theme © iAndrew 2016 - Forum software by © MyBB