Dear,
I had been using sessions in my script which were functioning normaly. but when i inserted cookies for some special reasons along with the sessions, i have ben facing problems.
eg the correct value for $variable1 in session is not being posted to next page and is being replaced by a null string. However the cookies are being set normally and are picking the correct stored values.
Notice that $variable1 is registered in session only, not in cookies. Cookies are meant to set other variables and are doing that task normally.
Please help.