cookies

Discussion in 'ASP General' started by alexz, Aug 12, 2003.

  1. alexz

    alexz Guest

    I'm looking for ideas dealing with cookies.
    I startetd with one login form on the intranet for
    which i use cookies to automatically login.

    Name = rcset("UserID")
    Response.Cookies("UserName")=(Name)
    Response.Cookies("UuserName").Expires = Date + 5

    Now i need to set up a few more of this login first
    forms, on one hand i don't want users to login again
    and again so i set the cookie for 5 days.
    I don't know if this is the safest or best way to
    deal with multi forms that require login.
    I'm looking for suggestions or other ideas.
    Thanks in advanced.
    alexz, Aug 12, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alex Nitulescu

    Response.Cookies vs Request.Cookies

    Alex Nitulescu, Feb 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    8,459
    Hans Kesting
    Feb 3, 2005
  2. Andy Fish
    Replies:
    3
    Views:
    6,508
    Fredrik Lindner
    Nov 6, 2003
  3. user
    Replies:
    3
    Views:
    649
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Mar 31, 2007
  4. archana
    Replies:
    1
    Views:
    500
  5. _Who
    Replies:
    7
    Views:
    2,638
Loading...

Share This Page