Guest_imported
New member
- Jan 1, 1970
- 0
Hi Guys,
I have designed a simple site which contains add/modify delete of certain contact records.I have created a login page too.When u login a login cookie is created using the following command.
<cfcookie name="login" value="username">
and then on every page i check that wether the cookie is defined or not.At logout the cookie is expired.
But the problem is whenever i add a record firsttime when i log in then it throws me out of the system and says u r logged out.But when i log in again and try to add something it is added.This is really strange because the system throws me out only at the first time when i try to add a record after that it works fine.Sometimes it does this problem more than one time.
Please suggest me what should i do to remove this problem .
Thanx in advance.
GG
I have designed a simple site which contains add/modify delete of certain contact records.I have created a login page too.When u login a login cookie is created using the following command.
<cfcookie name="login" value="username">
and then on every page i check that wether the cookie is defined or not.At logout the cookie is expired.
But the problem is whenever i add a record firsttime when i log in then it throws me out of the system and says u r logged out.But when i log in again and try to add something it is added.This is really strange because the system throws me out only at the first time when i try to add a record after that it works fine.Sometimes it does this problem more than one time.
Please suggest me what should i do to remove this problem .
Thanx in advance.
GG