Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3627

Shared Cookies not Removable

$
0
0

I access multiple Xojo web apps from my one computer (macOS). If I set a cookie in one Xojo Web app to represent a UUID eg
Session.Cookies.Set("UUID", "ABC123", YearFromNowDate)

then the cookie is set properly and is accessible for each Xojo web app using:
UUID = Session.Cookies.Value("UUID")

If I remove the Cookie in one of the other Xojo web apps ie
Session.Cookies.Remove("UUID")

then the Cookie appears blank if I immediately try to retrieve it.

BUT if I log out of my Session and reconnect the removed UUID Cookie is back with the previous value! Is this correct?

Can a Cookie only be Removed by its originating Xojo Web App? How can I set and/or remove a Cookie that is cross-Xojo Web App compatible?

Cookie Remove not removing.xojo_binary_project.zip (10.5 KB)

11 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3627

Trending Articles