Comments (2)
The client.session.destoy ()
method is always defined. This error comes from the call of other sub object destroy methods. If you call the method before a connection is stablished with the ape server this sub objects wont be defined. Is worth mentioning that the framework clear the cookies automatically if it fails to restore a session from the server. But If you must clear this cookies call client.session.restore()
and then client.session.restore()
or keep doing it how you were doing it.
May I ask why you need to explicitly delete the cookies?
from apepubsub.
It is for local developpement : since no wildcards is accepted in the hosts files, I had to add 1..domainname until n..domainname, and this limits the APS frequency.
Removing cookies was an easy way to reset the frequency.
But I'll get rid of the local ape server with hosts and set DNS on the external APE server so this won't be needed.
from apepubsub.
Related Issues (20)
- Array.prototype.contains causes error HOT 1
- Accentuated characters cause BAD_JSON error HOT 3
- Sync not working intermittently HOT 13
- IE 10 Websocket connection HOT 1
- 1.3 breaks my App HOT 7
- ApePubSub Broken with latest Ape. HOT 1
- InlinePush Equivalent HOT 11
- Channel property update HOT 2
- Sync sendEvent with subusers HOT 4
- Channel object not ready on joined event HOT 1
- 'restored' event is not firing HOT 15
- hardcoded http protocol HOT 1
- The "dead" event is triggered twice HOT 1
- Multiple sessions HOT 2
- var client = new APS('aps.HostName.com'); fails when transport LP HOT 1
- unSub from a channel thows an error if channel is not defined HOT 1
- User can only be in one client instance at a time HOT 1
- Users are NOT sent if you create a non-interactive channel like => *listen HOT 8
- Firefox throws a websocket close error right before loading a page HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apepubsub.