Var d As DateTime = DateTime.Now
Session.Cookies.Set("CookieTest", TEXTFIELD1.TEXT, D.AddInterval(0,0,3))
Get value:
Dim ResultFromCookieTest As String
ResultFromCookieTest= Session.Cookies.Value("CookieTest")
If ResultFromCookieTest <> "" Then
MessageBox("Cookies enabled")
Else
MessageBox("Cookies disabled")
End If
your project is working with me.
I get the cookie back even after closing the session and relaunch the web app.
what is the error you get ?
macos 15 - opera
may be it has something to do with the used browser ?
IIRC when Safari connects to an insecure (eg 127.0.0.1 or http) site it only stores the cookie temporarily, so it seems to work, but quit Safari or refresh the Session, and it’s gone. When Safari connects to a secure (ie https) site it stores the cookie permanently.