P
pincopallo_it
I get in my applications in this way :
In web.xml i have this
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.html</form-login-page>
<form-error-page>/login-error.html</form-error-page>
</form-login-config>
</login-config>
the login.html is like this
......
<form method="POST">
<table class="colorNoMargin" border="0"
cellPadding="3"
cellSpacing="1">
<tr class="testata" >
<td colspan="2">
Login al Sistema
</td>
</tr>
<tr>
<td>
Utente:
</td>
<td>
<input
name="j_username" type="text">
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input
name="j_password" type="password">
</td>
</tr>
</table>
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Log
in">
</td>
</tr>
</form>
......
How can I send a message saying user is already logged in if the same
user is using the application from another pc/browser ?
Thanks
In web.xml i have this
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.html</form-login-page>
<form-error-page>/login-error.html</form-error-page>
</form-login-config>
</login-config>
the login.html is like this
......
<form method="POST">
<table class="colorNoMargin" border="0"
cellPadding="3"
cellSpacing="1">
<tr class="testata" >
<td colspan="2">
Login al Sistema
</td>
</tr>
<tr>
<td>
Utente:
</td>
<td>
<input
name="j_username" type="text">
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input
name="j_password" type="password">
</td>
</tr>
</table>
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Log
in">
</td>
</tr>
</form>
......
How can I send a message saying user is already logged in if the same
user is using the application from another pc/browser ?
Thanks