Results 1 to 2 of 2

Thread: cookies will work everywhere?

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    cookies will work everywhere?

    i have the following method to write cookies
    Code:
    Response.Cookies["WebLog"]["User"] = nickTxt.Text;
    Response.Cookies["WebLog"]["Pw"] = pwTxt.Text;
    Response.Cookies["WebLog"].Expires = new DateTime(9999, 12, 25);
    this will save cookies untill 12/25/9999 but..this page is Login.aspx..will Main.aspx benefit from this same cookie too?
    \m/\m/

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Cookies aren't local to a page if thats what you are asking? So you should be able to reach the same cookie on different pages.

Posting Permissions

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



Click Here to Expand Forum to Full Width