Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

d0b1010r/cordova-cookie-jar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Cookie Jar

Your Phonegap / Cordova app needs more persistent cookie based sessions.

<script src="cordova-cookie-jar/cordova-cookie-jar.js"><script>

<script>

   // ... somewhere after cookies have been created
   plugins.cookieJar.storeCookiesForDomain("your-domain.com");

   // ... somewhere before you wish those cookies didn't disappear
   plugins.cookieJar.restoreCookiesForDomain("your-domain.com");

   // ... somewhere after those cookies are no good anymore
   plugins.cookieJar.emptyCookiesForDomain("your-domain.com");

</script>

About

Cordova / PhoneGap cookie persistence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%