Adelaide,
> Can any one tell me how I can detect that my browser support cookies??
There is no direct way. You also have to remember that the browser may
support cookies but they have been disabled by the user or by a policy, or
that they are enabled but not for your site.
The simple way is to send a cookie with a redirector page, and see if the
cookie is present when the browser requests the new page. You can set a
JavaScript timer event to fire a form in a page, and the form can contain a
hidden input field with a value equal to the cookie. When you recieve the
form, test for the cookie, but if it is not present then you still have the
value it would have represented.
In xbHCL you can create a callback function which gets triggered everytime
a FORM is created, which can be used to fetch an inbound variable (from a
previous form) and ensure it is embedded in the current form. This way,
you can set the variable once in your application and it will be embedded
in every form you create later.
Regards,
Phil Ide
---------------------
www.xbhcl.com
www.pbih.eu
www.idep.org.uk/xbase
---------------------
Love: two vowels, two consonants, two fools.