Base solution for your next web application
Open Closed

Cannot logout after first Ctrl+F5 to run web.host for angular v6.6.1 #6499


User avatar
0
limingjun2018 created
  1. I started the fully new solution, everything was OK. The browser opened http://localhost:22742/swagger/index.html.
  2. Clicked the button "Authorize", logined successfully, and the button changed into "Logout".
  3. Used the RAD Tool to generate some entities, some errors happened. so I deleted the whole solution from the disk and deleted the database . but I didn't closed the browser.
  4. Unzipped the solution archive again and repeat 1), the browser opened a new page of http://localhost:22742/swagger/index.html. Jokely, the new page showed a button "Logout" without any login action. When clicked this button, there was no response.

2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    What's the joke?

  • User Avatar
    0
    ismcagdas created
    Support Team

    @limingjun2018

    When you login on the swagger ui, a cookie is created. If you don't logout, it will stay there. Nothing related to re-creation of database or the web app.