I need to maintain state across two form submissions; the first one requires that a user confirm an int and string; the second one records a small amount of metadata, user information and transaction information.
Am I right in thinking that HttpSession getAttribute and putAttribute are the right way to acess and record such state information for common access in different servlets please? When the second post occurs, How do I check that I've got the right users session data please, if there are a number of users logged in? Is this the idea of passing the sessionID as a query string to the servlet the normal way in which these two are matched? QueryString= session.getId() ? Which raises the question, what to do on a mismatch? I guess that's down to the application. The class appears not to have the ability to get sessionData matching a specific sessionID value. Regards DaveP. **** snip here ***** -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
