Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个里面的cookie和session到底怎么用 #15

Open
xiashulin opened this issue Apr 21, 2016 · 1 comment
Open

这个里面的cookie和session到底怎么用 #15

xiashulin opened this issue Apr 21, 2016 · 1 comment

Comments

@xiashulin
Copy link

这个程序里面的filter文件,就是preQuery.js文件中:

server.defineFilter("needRedirect",function(default_request,default_response,cookie){
这里 cookie就没有值
……
}
……
server.defineFilter("isDeveloper",function(default_request, default_response,cookie){
这里 cookie却有值
……
}

并且我在我自己的项目里,cookie完全用不了,都是undefined。。

急求解答,另外希望这个项目能有人维护更新改进!谢谢。

@MrChu
Copy link

MrChu commented Jun 7, 2016

百度的很多开源项目都夭折了,由此得出结论,千万不要用百度的开源产品,因为一不小心你发现最后就剩你自己了。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants