Welcome Guest, Not a member yet? Register   Sign In
custom users routes? [SOLVED]
#8

[eluser]bretticus[/eluser]
Nice hack Dustin. I love this about codeigniter. It's fairly easy to modify.

Just wondering, will all your URL's have a username? I like WanWizards approach of checking for a valid username. I know that's a lot of overhead, but you could cache usernames in memory (memcache or APC, etc.) and bypass your routing code when the username is invalid (and thus use URI paths where a username is not required.) If you actually need to do this, you might want to make sure that your users can never register a username that you ever anticipate using in your URL's.

Glad you figured it (WanWizard gave much better advice, as usual.)


Messages In This Thread
custom users routes? [SOLVED] - by El Forum - 10-14-2010, 07:39 AM
custom users routes? [SOLVED] - by El Forum - 10-14-2010, 05:26 PM
custom users routes? [SOLVED] - by El Forum - 10-14-2010, 10:29 PM
custom users routes? [SOLVED] - by El Forum - 10-15-2010, 07:23 AM
custom users routes? [SOLVED] - by El Forum - 10-15-2010, 10:19 AM
custom users routes? [SOLVED] - by El Forum - 10-15-2010, 10:57 AM
custom users routes? [SOLVED] - by El Forum - 10-16-2010, 12:08 PM
custom users routes? [SOLVED] - by El Forum - 10-16-2010, 12:34 PM
custom users routes? [SOLVED] - by El Forum - 08-03-2011, 05:25 PM
custom users routes? [SOLVED] - by El Forum - 08-04-2011, 09:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB