Hi all, I hope this question is not very much off topic... I have a button on my main page which is used for logging out (for time being all it does is confirm and close the browser..). What I would like to do is somehow through that function, access a static Vector of all logged in users I am keeping in a
servlet, and remove that user... Two things I don't know here... How can I (can I???) grab the user's id from a cookie that is stored previously by a servlet onto the browser of the user, and secondly, how to remove an entry with that name from the Vector...
I know this can most probably not be done simply through the javascript, so I know I might have to submit a form and call a servlet to do the job... but I don't want to have a different page saying goodbye and all that... If you got any ideas how this can be done as quickly (and easily) as possible pls drop me a few lines... Thank you,
Regards,
Aris