Getting Sqlitelog (23) Not Authorized Error While Select Query In Phonegap Android.....
I am creating an app in which I have executing an select to get the access rights an base on the rights i want to run another select query. But while doing this its giving me (23)
Solution 1:
This is not a good solution for solving sqlite 23 not authorized error.
db.transaction(function(tx){
tx.executeSql(checkAccessQuery,[],function(tx,results){
var dataset = results.rows.length;
if(dataset>0)
{
}else{
window.localStorage.setItem('accessDenied',true);
setTimeout(function() {
window.location.href = 'home.html';
}, 1500);
}
});
Post a Comment for "Getting Sqlitelog (23) Not Authorized Error While Select Query In Phonegap Android....."