As I understand, you want to know how to create a new cookie. Below is a simple example how to do that. Depends on your needs, set appropriate properties of System.Web.HttpCookie object. Basically you simply add a new cookie object into Response.Cookies collection and that's all. Using Respose.Cookies class you can also remove or change any cookie your application creates. Dim cookie As System.Web.HttpCookie Dim cookieName As String Dim cookieValue As String cookie = New System.Web.HttpCookie(cookieName, cookieValue) Response.Cookies.Add(cookie)
-- Mariusz 'mAv' Wójcik master e-software engineer