i need to set a cookie and work with that cookie on the same page.
this seem to be not possible with php cookies:
"Cookies will not become visible until the next loading of a page that the cookie should be visible for. To test if a cookie was successfully set, check for the cookie on a next loading page before the cookie expires. Expire time is set via the expire parameter."
how to overcome this?
is this possible using other programming languages such as cgi, perl so that we can set cookies and read them and process them on the same page?
please point me to such tutorials.
thank you very much.