Git Product home page Git Product logo

Comments (5)

cn-ygf avatar cn-ygf commented on August 23, 2024

CacheKey和EncryptKey调整一下试试

from gfast.

zjlx avatar zjlx commented on August 23, 2024

我同时在一个电脑上跑两个gfast项目,配置不同的gtoken的信息,但是两个项目不能同时登录,不然会相互影响,提示用户信息验证失败,我用的gotken模式1,没用redis,难道是哪里还需要配置嘛?

你应该遇到的跟我的问题差不多,原问题https://github.com/tiger1103/gfast/issues/14。
我是用的redis模式,解决办法就是两个项目使用不同的redis库就可以解决了,例如一个你用了1,另外一个用5就可以了。如果你是用的内存模式,那么两者的储存的key改一下名字让他们不相同,应该就可以解决了。

from gfast.

Wyatex avatar Wyatex commented on August 23, 2024

看样子像是gcache的问题,但是理论上两个不同的进程内存数据是隔离的,试试用gf2的gfast v3看看

from gfast.

tiger1103 avatar tiger1103 commented on August 23, 2024

使用内存缓存是隔离的,缓存是在不同内存块,不会互相影响。你看下是否浏览器端用的同一个域名造成token相互冲突,用不同浏览器或不同域名试一下。

from gfast.

zjxzjx54 avatar zjxzjx54 commented on August 23, 2024

已经解决了,估计就是同一个域名冲突造成的

from gfast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.