Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: User redirect()

  1. #1
    New Coder
    Join Date
    Aug 2009
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    User redirect()

    Hi friends
    im new to php programming.., i just want one help from u.., i started to create a webpage.., it consist of login page,home page,studentdetails etc.., my query is if i click back button it should backtrack till home page it should not backtrack to login page.. pls respond me quickly..,

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    You're asking how to derail the basic functionality of a web browser, which is generally a bad idea. People need their browsers to behave consistently.

    One thing you could do is open a new window when someone logs in, which gives you a "base" page that can't be backed into any other page.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •