Rob Spoor wrote:The MAC address isn't sent with the requests*. It's only available on the client machine. That means that the server can't get to it.
* Well, apart from perhaps DHCP requests, but that's not what we're talking about here.
amit punekar wrote:Hi,
Not very sure of the scenario in which you are using report_master table but check if the report_id that is returned is the next valid value and not the maximum value in that table. Your function name is findMax() which makes me think so.
If it is the max value then you will need to increment it to get next value.
Regds,
amit
amit punekar wrote:Hello Jagdeep,
I think you have answered the question in your email itself.
2. Open another tab open gmail (it wont ask for login). now in this tab logout and login with different username and password.
This is not same as what you have asked in your email. You want user to log himself out manually by clicking the logout. If you also implement in the same way then in your case as well when you go back to the earlier tab you would see the login box. Of course, I presume that you have implemented the login functionality and checking the request by whichever means for user's logged in status.
Regds,
Amit
Paul Sturrock wrote:
However, you can track with presence of existing user in session with respect to the clients IP
The client's IP address is frequently likely to be the address of the proxy server they access your server through, so a range of people could have the same IP address.
The only way I can think of doing this is to add some extra variable in the request that identifies this is a different tab. If the page you served was JavaScript that redirected with some unique id which you then used to invalidate the session, that might do it. But if you decided to do this, you have to wonder why you are using the session at all? Do you often have two distinct people accessing the same application via the same browser concurrently?
Bear Bibeault wrote:You are establishing your click event before the DOM is created. That won't work. You need to put that code in a ready handler.
Bear Bibeault wrote:The problem is that you haven't told us what the problem is.
Please read ItDoesntWorkIsUseless.
Eric Pascarello wrote:And what horrible browser is this?
In the end you need the doc type on the page.
Eric