Just 2 general Qs...
1. Does a session-only cookie (document.cookie) have to have an 'expires' field?
2. What happens if I call the SetCookie() twice with the same info? will the second call overwrite the first or will I have two cookies?
(for example - 1st cookie: "MyC=1; ratio=0.5;" 2nd cookie: "MyC=2; ratio=0.3" - what will happen when I will enter the second cookie and what will happen when I will try to get "MyC" cookie value?)
thanx!!!
1. Does a session-only cookie (document.cookie) have to have an 'expires' field?
2. What happens if I call the SetCookie() twice with the same info? will the second call overwrite the first or will I have two cookies?
(for example - 1st cookie: "MyC=1; ratio=0.5;" 2nd cookie: "MyC=2; ratio=0.3" - what will happen when I will enter the second cookie and what will happen when I will try to get "MyC" cookie value?)
thanx!!!