Browse files

use the more kosher query string for preventing cache

  • Loading branch information...
1 parent 65e66b5 commit 2eb773dc2e1177cecb3a22a7ff055113d4f70e90 Bradley Meck committed Oct 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 example/static/sws.js
View
2 example/static/sws.js
@@ -1,7 +1,7 @@
function SessionWebSocket(cb) {
var xhr = new XMLHttpRequest()
//use https and go over the same port as the server
- xhr.open("GET","/"+(new Date()+0))
+ xhr.open("GET","/?no-cache="+(new Date()+0))
//set our header to get the token
xhr.setRequestHeader("x-access-request-token","simple")

0 comments on commit 2eb773d

Please sign in to comment.