vue-session
vue-session copied to clipboard
A simplistic session plugin for VueJS backed by SessionStorage and LocalStorage
Are this plugin going go work with Vue3? I am migrating my Vue2 App to use `@vue/composition-api` and I would like to know if there is any way to use...
excuse me when I use vue-session I always caught an error when I try to use it . The error on console says Cannot set properties of undefined (setting '$session')...
Defines the time of life of the sessions.
How to set session timeout parameter?
I have put ``` import VueSession from 'vue-session' Vue.use(VueSession) ``` in my main.js file. When I try to use the session with `this.$session.start();` I get the error ``` vue.esm.js?65d7:563 TypeError:...
PHP's `uniqid()`, which uses system microseconds, recommends adding the "more_entropy" param for uniqueness: https://www.php.net/manual/en/function.uniqid.php vue-session is 1000x more likely to produce collisions, due to using just milliseconds: ```js all['session-id'] =...
Hi, I have an computed property based on the this.$session.exists(), when creating or destrying a session, it doesn't trigger the watcher so my property remains the same until a hard...
Why I'am got this error? import Vue from 'vue' import store from '@/store' import VueSession from 'vue-session' Vue.use(VueSession) const TokenKey = 'ApiToken' const TokenBxKey = 'BxToken' const AdminBxKey = 'BxAdmin'...
Hey guys, I just got this dependency and so far it's great! I have a question though, can I make the persistence on the "options" depend on a "remember me"...