Only allow user to open database in browser once

Is there any way to limit a user to opening a database in the browser only once? I’m having an issue with users opening multiple browser windows and re-posting the same documents. Unfortunately, postopen code in the database script only executes if the db is opened in the client.

Is there some way in Javascript to accomplish this? Is there any log file or admin function tat would tell me if a user is already logged into the application that can be read?

Any help is appreciated!

Subject: Only allow user to open database in browser once

Not effectively, no. If the windows have an opener/opened relationship, then you can navigate the hierarchy in JavaScript, but if they are separately-opened windows, there’s no relationship between them and no way to talk between them programmatically with safe code.

Subject: RE: Only allow user to open database in browser once

Thanks - that’s what I was afraid of. They are definitely opening separately-opened windows. Looks like I’ll have to create a lock document each time a specific form is loaded…

Thanks again for your input.