Click here to Skip to main content
15,902,777 members

Comments by Arnab Kundu (Top 2 by date)

Arnab Kundu 27-Sep-16 1:25am View    
Thank you for your reply . Yes I'm storing the password in the cookie in plain text,I just wanna clarify one thing that,in my flow I can't redirect to any page .say,If a user sets the remember me option then next time when he logs in to the site he/she probably need to see he/she is already logged in to the site ,as my cookie will expire after 15 days,my problem is as I'm getting the cookie value in the 1st load and setting the session value at that time so that at the 1st time user can't able to see he/she is logged in actually .As the session sets in the first load ,when he/she will clicks anywhere to reload any page again he/she will able to see he/she is logged on ,I need to fix such a way,before the page loads I've to set the session values
Arnab Kundu 4-Aug-16 8:59am View    
thanks for reply
Is there any alorithm to retrive the date from above string ?