Cookies and Class

Results 1 to 2 of 2

Thread: Cookies and Class

  1. #1
    Join Date
    Dec 1969

    Default Cookies and Class

    I&#039;ve have written a little simple class in ASP to manage a cookie.<BR><BR>2 Function were implemented<BR>GetCookie(Cookiename)<BR>gFirstName = Request.Cookies (Cookiename)("FIRSTNAME")<BR><BR>PutCookie(Cookien ame)<BR>Response.Cookies (Cookiename)("FIRSTNAME") = FirstName<BR>Response.Cookies (Cookiename).Expires = Now + 365<BR><BR>They don&#039;t work!<BR>I&#039;m sure there aren&#039;t syntax errors.<BR><BR>Is it possible to use cookies collection inside a class?<BR><BR>Thanks

  2. #2
    Mike Shaffer Guest

    Default Please don't cross-post your questions

    &nbsp;<BR>The answer is &#039;yes&#039;.<BR><BR>There may not be any syntax errors, but there certainly could be problematic (or missing) logic. If you show us your code, we can probably help you figure it out.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts