Hi,
I am having a problem with cookies in forms.
I have added cookies on submit of form.
Its happening successfully.
Now when i am returning the form after validation , the cookies are not displayed.
The whole form is blank.
When i back or refresh is done , again the cookies come in the fields.
The form is in the main function.
When i return
elseif($email==$rowvalidate['email'])
{
$GLOBALS['erremail']="e-MAILI D already exists , try another e-MAIL ID.";
main();
exit();
the function is returned successfully both the cookies are not displayed.
When the form is reopened in the browser or refresh or back is done the cookies are displayed.
Please tell me where i am going wrong.