Welcome Guest, Not a member yet? Register   Sign In
Handling URL GET params
#1

[eluser]ckeller[/eluser]
I have an app with a centralized login system on another domain which basically redirects the browser to a login.php page on my app with parameters like ?UserToken=123&Username=ckeller etc.

However, given that all the URLs in CI are segmented (I know I can turn that off), how do you handle the case where you're not sure of the order of the GET parameters or the 2nd of 3 parameters may not exist? (the login system may pass back more info if it's in the DB).

Any best practices on this? Is it best if the redirecting login system posted the variables to my app instead of putting them in the GET?

Thanks,

Chris




Theme © iAndrew 2016 - Forum software by © MyBB