Announcement

Collapse

New Sub-Forum

In an effort to help make sure there are appropriate categories for topics of discussion that are happening, there is now a sub-forum for databases and database programming under Special Interest groups. Please direct questions, etc., about this topic to that sub-forum moving forward. Thank you.
See more
See less

HTTP_Cookie Compatibility issue?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTTP_Cookie Compatibility issue?

    I just worked several hours on my code, and it finally works perfectly on
    Internet Explorer, but when i test my code on Firefox it simply doesnt
    store the cookies... Here is my code:

    Code:
    STDOUT "Content-Type: text/html" 
    STDOUT "Set-Cookie: UserName=" & Nombre & "; expires=" & CookieDate(1) & "; path=;"
    STDOUT "Set-Cookie: RandomID=" & TRIM$(Dat(Index).Ident, ANY CHR$(32,0)) & "; expires=" & CookieDate(1) & "; path=;"
    STDOUT ""
    Am i doing something wrong?

  • #2
    Elias,

    The biggest problem I've had setting cookies is with the 'path=' part.

    Try setting it to the root: path=/

    and see if that fixes it.
    Software makes Hardware Happen

    Comment


    • #3
      Perfect!!! Thanx Joe! I owe you another!!!!

      Comment

      Working...
      X