This particular Web application sends out emails with embedded ID's in a URL
that uniquely identifies a connection. We have been able to do this because
our customers forward us their list of members etc.

We have a new customer that must send out the emails themselves and
therefore it is not possible to embed our usual URL. So now I am turning to
"Cookies" and as I am new to the Cookie thing 4D has made it pretty simple
to create and read them.

However I would like to detect first if the browser connecting has Cookies
enabled or not. 4D does not have a method for that. Therefore I create a
Cookie (ie: "EXISTS" ) with a value (ie: "YES" ) and then immediately try
and read back the Cookie. If I get back a blank the assumption is Cookies
are disabled and I can deal with a response.

However when trying to read a cookie that has just been created it always
comes back blank. I think what is happening is that the session is not
finished and therefore the Cookie is not actually created until the session
is over. If I check the cookie's existence after session is over it does
exist.

So 'am I correct in assuming I cannot read a Cookie until web session is
over?

Thanks



-----
Jim Labos - infobase
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to