mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
js comment about session id in first message
This commit is contained in:
parent
f51425ed28
commit
43eb765793
@ -131,6 +131,8 @@ var IPython = (function (IPython) {
|
||||
this.stdin_channel = new this.WebSocket(ws_url + "/stdin");
|
||||
this.iopub_channel = new this.WebSocket(ws_url + "/iopub");
|
||||
send_cookie = function(){
|
||||
// send the session id so the Session object Python-side
|
||||
// has the same identity
|
||||
this.send(that.session_id + ':' + document.cookie);
|
||||
};
|
||||
var already_called_onclose = false; // only alert once
|
||||
|
Loading…
Reference in New Issue
Block a user