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,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    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,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    The pleasure is all mine!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice