使用window.location.assign会导致Meteor.userId丢失

我写了一个Meteor网站,其中客户端路由由angular-meteor完成,服务器路由由IronRouter完成。 其中一个调用要求在浏览器操作之后,我调用服务器端路由,所以我正在使用:

window.location.assign('/my/server/route') 

而不是Angular $ location.path(…)(因为这个url没有客户端路由)

我注意到,如果用户login,那么在调用window.location.assign后, Meteor.userId在服务器端变为空。

从我的日志 – 之前.assign(客户端和服务器端):

 Meteor.userId: iaPkB6cxKGMS7b7H6 

分配后(服务器端)

 Meteor.userId: null 

有人可以解释为什么userId在这种情况下丢失?