Link to home
Start Free TrialLog in
Avatar of lapucca
lapucca

asked on

Using cookie to remember credential in mobile devices

I have a requirement to build a responsive web application where users would like the browser to remember their login credential for about a month.  I have a couple of question about this.
1.  In a PC I could use a cookie to do this.  What do I do when it's a mobile device?  How can I set the browser to remember the user's credential when they navigate to the site?
2.  Can I use that for all browser on the mobile device?
3.  They want the web application to authenticate using users' window' account credential.   I'm not sure if I can store the user's password since it's in AD.  How can I do this?

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Imran Javed Zia
Imran Javed Zia
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lapucca
lapucca

ASKER

So, my codes doesn't, and shouldn't, do anything about storing or remember the user's credential?  that would be my preference.  So, is it up to the users to configure the browser they're using on their device to remember login credential?

Customer's requirement is not having to entering their userid or password each time they browse to the website, for up to 30 datys.  

Thank you.
You should push the creds as a cookie to the client. Client per discretion can enable or disable cookies. In the latter case, your website would continue as usual and ask for credentials.
Avatar of lapucca

ASKER

What do you mean by my application "push" the credential as a cookie?  

The user will be logging into the web application using their Window's credential.  By pushing, do I store their userid and password on the browser as a cookie?

Thank you.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial