Results 1 to 2 of 2

Thread: Cookies

  1. #1
    Join Date
    Dec 1969

    Default Cookies

    Well i am having some problems working with cookies<BR><BR>I am using cookies to store the name of the user for a session. Everything is working fine except that when i click the logout button the cookie does not expires.<BR><BR>I have tried this on the locolhost, here it is working fine. But it is not working on the net<BR><BR>The code on the logout page is as given below<BR><BR>&#060;% response.cookies("username").expires= now() %&#062;<BR><BR>Please help me out<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Cookies

    Try to set the date to a date prior to Now(), i.e:<BR>Response.cookies("username").Expires = #January 1, 1980#<BR><BR>Ran

Posting Permissions

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