Code Monkey home page Code Monkey logo

Comments (4)

gmag11 avatar gmag11 commented on July 26, 2024

You have to close browser.

from fsbrowserng.

ddamron avatar ddamron commented on July 26, 2024

There must be a better way.. I've found sending a fake 401 works for some browsers..
Sending a response with a custom header "WWW-Authenticate: Invalidate, Basic realm=logout" is also supposed to help..
My research into this topic has been mixed.. everyone suggests to close browser.. that's great.. but I want to add a logout button on my webpage.. and that seems tedious

from fsbrowserng.

gmag11 avatar gmag11 commented on July 26, 2024

Sorry, I'm not a web developer. Probably there are better ways, like developing session handling with cookies, but I do not have enough time to investigate.

from fsbrowserng.

gcassarino avatar gcassarino commented on July 26, 2024

hello, happy to help! That can be done, please look at my project based on the wonderful work of Germán. On the administration page, a routine is implemented in JS to log out.
https://github.com/gcassarino/esp8266-Philips-RC6-tv-remote/blob/master/data/admin/admin.html#L60

from fsbrowserng.

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.