dmriley / left4deadrcon

Automatically exported from code.google.com/p/left4deadrcon
0 stars 0 forks source link

Logout feature needed #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Login
2. Close browser window
3. Return to site

What is the expected output? What do you see instead?
Should prompt for a new login

What version of the product are you using? On what operating system?
r28

Please provide any additional information below.
no logout feature coded such as:
<?php
function logout() {
$sessionid =$_COOKIE[l4dcommander];
@setcookie (”l4dcommander,”,time()-99999, ‘/’, ”);
}
?>

What would be awesome is to allow multiple sessions (dynaic) so that you
can have multiple sessions open at once.  In the spirit of this, I'd
recommend maybe controlling sessions - restrict a single commander login
per server instance (i.e. one client can be connected to a particular
ip:port via the commander, but one client can be connected to many
differing ip:port servers using the same page spawned in multiple
browsers/tabs).

Making a logout, and when the page is hit an auto-logout flush to ensure
they're logged out would be recommended.

Original issue reported on code.google.com by meng...@gmail.com on 30 Jun 2009 at 7:09