I'm working for a website which uses cookies to store the logged in user's information.
i.e. When user log-in, if he has a valid login/password we create cookies for the UserID,CustID and etc..to be used throughout the website and delete those cookies when user clicks LOGOUT button.
This was working fine, but suddenly, a group of users has started complaing that they are getting error. I have reviewed the error and found that it is because of cookies getting expired. They all are using SAFARI browser with MAC machine.
No other user complaning this except them.
So, I believe that this is happening because of cookies getting expired for SAFARI.
I have implemented a code to LOGOUT user if cookie has expired (This can prevent the errors occuring because of value loss due to cookies).
But now they are complaing that they are frequently getting logged out of the system.
CAN YOU SUGGEST ME WHAT TO DO IN THIS SITUATION?
HOW SHOULD I PREVENT COKKIES FROM EXPIRING?
Thanks...Lookin g for your reply
i.e. When user log-in, if he has a valid login/password we create cookies for the UserID,CustID and etc..to be used throughout the website and delete those cookies when user clicks LOGOUT button.
This was working fine, but suddenly, a group of users has started complaing that they are getting error. I have reviewed the error and found that it is because of cookies getting expired. They all are using SAFARI browser with MAC machine.
No other user complaning this except them.
So, I believe that this is happening because of cookies getting expired for SAFARI.
I have implemented a code to LOGOUT user if cookie has expired (This can prevent the errors occuring because of value loss due to cookies).
But now they are complaing that they are frequently getting logged out of the system.
CAN YOU SUGGEST ME WHAT TO DO IN THIS SITUATION?
HOW SHOULD I PREVENT COKKIES FROM EXPIRING?
Thanks...Lookin g for your reply
Comment