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

clear cache browser #380

Open
15 tasks
hathemi opened this issue Mar 1, 2019 · 0 comments
Open
15 tasks

clear cache browser #380

hathemi opened this issue Mar 1, 2019 · 0 comments

Comments

@hathemi
Copy link

hathemi commented Mar 1, 2019

In raising this issue, I confirm the following (please check boxes):

  • I have read and understood the Wiki. Especially deploy and configuration articles.
  • I have checked that the bug I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.
  • I realise that server-side connectors are provided by various contributors. The implementations are vary due to programming language features/limitations or other factors. Thus a particular connector may not implement, or partially implement, the API features.
  • I realise that any changes in configuration options and/or plugin parameters affect the plugin behavior. I specified all the differences from defaults in details.

I use the following server-side connector (check one):

  • PHP connector by servocoder
  • Java connector by fabriceci
  • Python3 Flask connector by jsooter
  • Python3 Flask connector by stevelittlefish
  • [x ] NodeJs connector by jlaustill and forestlake
  • ASP.NET Core connector by sinanbozkus
  • ASHX connector by richeflits
  • Other (specified below)

My familiarity with the project is as follows (check one):

  • I have never used the project.
  • [ x] I have used the project briefly.
  • I have used the project extensively, but have not contributed previously.
  • I am an active contributor to the project.

I have made an authentication system. When i try to logout, and press back button, or try to login with other account, it always get back to the first refreshed page.
i have used cookies, and clear cookies when logging out.

app.get('/logout', (req, res) => {
    if (req.session.user && req.cookies.user_sid) {
        res.clearCookie('user_sid');
        res.redirect('/');
    } else {
        res.redirect('/login');
    }
});

what should i add to clear caches after log out ???? and thank you.

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

1 participant