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? Quote Link to comment 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... Quote Link to comment 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. Quote Link to comment 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 :-) 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.