Wes1890 Posted October 17, 2007 Share Posted October 17, 2007 Im wanting to disable the ability to view the same script over multiple windows or tabs. Example, someone clicks on "window.php?p=yeah&d=no&r=saywhat". It should check all other windows to see if "window.php" is being ran, and return TRUE or FALSE (depending on the situation) so I can use some IF/ELSE stuff. Another thing, I'm not really good with JS, so try to dumb down what you say Also, how would I pass a variable from JS to PHP for using it in IF/ELSE statements? Much appreciated people Quote Link to comment Share on other sites More sharing options...
Wes1890 Posted October 19, 2007 Author Share Posted October 19, 2007 hump de bump Quote Link to comment Share on other sites More sharing options...
fenway Posted October 19, 2007 Share Posted October 19, 2007 "Check other windows" isn't really possible... as for passing variables, simply set a hidden FORM input. Quote Link to comment Share on other sites More sharing options...
Wes1890 Posted October 20, 2007 Author Share Posted October 20, 2007 you know.. i could probably do this using sessions in php couldnt i? that just came to me Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.