Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   Need help in redirect page standing (http://www.go4expert.com/forums/help-redirect-page-standing-t5535/)

hoangthienphuc 30Jul2007 09:16

Need help in redirect page standing
 
Hi everybody! I have made 2 set of language, my problem is when i want to change the current language into another language : itís always back to main page ( because i redirect to main page if not it no work ). I want when i standing on the current page(not main page) and change language, itís still stand on that page and not back to main page. How can i solve this problem? Thanks for any response.

pradeep 30Jul2007 10:30

Re: Need help in redirect page standing
 
When a language is selected set a cookie, or store in the session, as to which language should be used! Every time read the value and redirect or process accordingly!

hoangthienphuc 31Jul2007 12:27

Re: Need help in redirect page standing
 
Thanks alot. I have done. :)

pradeep 31Jul2007 13:22

Re: Need help in redirect page standing
 
The pleasure is all mine!


All times are GMT +5.5. The time now is 13:28.