KaranGupta
asked on
Persistent and Non Persistent query
Persistent cookies: cookies are stored on your computer hard disk. They stay on your hard disk and can be accessed by web servers until they are deleted or have expired.
HttpCookie cookie = new HttpCookie(name);
cookie.Value = value;
cookie.Expires = Convert.ToDateTime("12/12/ 20083);
Response.Cookies.Add(cooki e);
Non-persistent cookies: cookies are saved only while your web browser is running. They can be used by a web server only until you close your browser. They are not saved on your disk.
HttpCookie cookie = new HttpCookie(name);
cookie.Value = value;
Response.Cookies.Add(cooki e);
Kindly suggest
HttpCookie cookie = new HttpCookie(name);
cookie.Value = value;
cookie.Expires = Convert.ToDateTime("12/12/
Response.Cookies.Add(cooki
Non-persistent cookies: cookies are saved only while your web browser is running. They can be used by a web server only until you close your browser. They are not saved on your disk.
HttpCookie cookie = new HttpCookie(name);
cookie.Value = value;
Response.Cookies.Add(cooki
Kindly suggest
what is your problem?
ASKER
I want to verify that the definition and example is correct or not
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.