#1
  1. No Profile Picture
    Super Moderator
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2009
    Location
    Hartford, WI
    Posts
    1,439
    Rep Power
    24

    Mimic MS Access Close Restriction?


    Well, my project is pretty much a conversion from a Microsoft Access interface. When the user is logged in, they cannot close Access until they close their viewed screens and choose Log Out on the main screen, which brings them back to the login screen and offers the ability to close Access.

    I feel this may not be possible w/ browsers, but perhaps any ideas to achieve similar?


    (This is cross-posted, so I apologize. I figure JS is best for the disabling of items options, but thinking PHP may kinda be able to run some kind of automated process "OnBrowserClose" or something?)
    He who knows not that he knows not is a fool, ignore him. He who knows that he knows not is ignorant, teach him. He who knows not that he knows is asleep, awaken him. He who knows that he knows is a leader, follow him.
  2. #2
  3. Forgotten Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,099
    Rep Power
    9644
    Originally Posted by Triple_Nothing
    I figure JS is best for the disabling of items options, but thinking PHP may kinda be able to run some kind of automated process "OnBrowserClose" or something?
    Nope. Once PHP has outputted the HTML and whatnot, the rest is out of its hands. If you want something done client-side then you cannot use PHP for it.

    Locking so people reply to the other thread instead of this one.

IMN logo majestic logo threadwatch logo seochat tools logo