1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help in redirect page standing

Discussion in 'PHP' started by hoangthienphuc, Jul 30, 2007.

  1. hoangthienphuc

    hoangthienphuc New Member

    Joined:
    Mar 15, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    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!
     
  3. hoangthienphuc

    hoangthienphuc New Member

    Joined:
    Mar 15, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    Thanks alot. I have done. :)
     
  4. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    The pleasure is all mine!
     

Share This Page