cookies and session

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • umeshpotdar
    New Member
    • Mar 2007
    • 34

    cookies and session

    how to create cookies and sessions in .net 2005
    plz give me links that i can learn more about these.
    thanks.
  • teju
    New Member
    • Jul 2006
    • 34

    #2
    Hi,
    You can add the parameter in the webconfig file

    <add key="CookieName " value="cookieva lue" />
    and in th cs file you can include the following code
    HttpCookie UserCookie = Request.Cookies[ConfigurationMa nager.AppSettin gs["CookieName "]];

    Comment

    Working...