I want to test if a field data sent from an html form to my database already exists before taking necessary actions. I use Sybase database system-11. The code below doesn&#039t do the test before committing the information into the database. Although, I receive an error message if the unique field posted already exists since it was set as an indexed field (primary key).<BR><BR>Secondly, how can I create and use a session object or any simpler means to keep track of the username and password a valid user used in logging on to a particular directory on my site. This should be in a way that I use the entry information on every page visited in the directory without requiring the user to re-enter the same key information.<BR><BR>Can you please help on these?<BR>