Originally Posted by rekha
I understand that we have to encrypt the details and store it in cookies but I dont know how to reassign them when login.
No need to decrypt and compare both encrypted.
Say you have value X Which when encrypted becomes djakshdakjs
So now instead of converting djakshdakjs to X encrypt X and compare with djakshdakjs