I&#039;m trying to build a site that has a small user-login dialogue in the menue.<BR>Everytime a user logs in (or a new user registers) a cookie should be created on the user computer.<BR>So if the user returns to the site he is automatically logged in and instead of the log in dialogue a picture is displayed (user specific like some other things).<BR><BR>How do I get an asp site to write a cookie on to the user computer and how do I read from it?<BR>It sould work like this.<BR>If cookie = there <BR> get username from cookie and compare with database<BR> get password from cookie and compare with database<BR> if username and password correct <BR> get user preferences from cookie<BR> else show login dialogue<BR>Else<BR> show login dialogue<BR> if entered username and password correct write cookie and get userpreferences<BR> else fo to error<BR><BR><BR>Sorry but I&#039;m using Dreamweaver UltraDev and I have no clue how to do that.