Cep Posted January 16, 2007 Share Posted January 16, 2007 I don't know whether this is a client side or server side thing or whether its even possible but basically what I want to do is check to see if a user already has a browser window open on a certain page of my site.So for example if a user has edit.php open in a browser window, I want to check for this so that I can display a different output should they try and open edit.php again in another window.Any ideas? Link to comment https://forums.phpfreaks.com/topic/34399-check-for-number-of-browser-windows/ Share on other sites More sharing options...
taith Posted January 16, 2007 Share Posted January 16, 2007 set a cookie on one page, and if the other page finds it... die() or whatnot... Link to comment https://forums.phpfreaks.com/topic/34399-check-for-number-of-browser-windows/#findComment-161899 Share on other sites More sharing options...
Cep Posted January 16, 2007 Author Share Posted January 16, 2007 That's not a bad idea, cheers. Link to comment https://forums.phpfreaks.com/topic/34399-check-for-number-of-browser-windows/#findComment-161911 Share on other sites More sharing options...
taith Posted January 16, 2007 Share Posted January 16, 2007 no prob... just make sure on your "save" page you kill that cookie :-) Link to comment https://forums.phpfreaks.com/topic/34399-check-for-number-of-browser-windows/#findComment-161917 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.