Welcome Guest, Not a member yet? Register   Sign In
Changing letters in search function (url and function)
#2

[eluser]Aken[/eluser]
In the controller that processes the POST request:

1) Validate the orignal search query. Once it is valid...
2) Add it to session userdata.
3) Figure out what the English version is.
4) Forward the user to mysite.com/search/englishversion
5) On the results page, check if the session variable exists. if it does, search by that. If not, search by what's in the URL (make sure to sanitize it).


Messages In This Thread
Changing letters in search function (url and function) - by El Forum - 04-16-2012, 03:11 AM
Changing letters in search function (url and function) - by El Forum - 04-16-2012, 03:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB