X
點擊此處開啟此網站的行動版。

技術支援討論區

How To Log A Webpage Out Of A Site?

已張貼

I am testing my own site. Where I need to log in with different User Accounts in order to check that aspect of IIS.

Firefox only allows me to log in with one account - visiting that site again just automatically logs in with that same account. It doesn't present me with the log in fields. And, of course, a browser doesn't have a 'log out' button does it?

I want to be presented with the log in fields each time I go there, so's I can log in as a different user.

So I found a thread here that was similar, talking about someone with the opposite problem - constantly being logged out. And the answer was in about:preferences and such. Well I couldn't follow that trail because about:preferences didn't bring up the options that thread talked about.

I suppose the answer is a cookies thing. I'd like to resolve this without having to delete all cookies. If I can.



edit: removed spaces before each paragraph which caused horizontal scroll-bars.

I am testing my own site. Where I need to log in with different User Accounts in order to check that aspect of IIS. Firefox only allows me to log in with one account - visiting that site again just automatically logs in with that same account. It doesn't present me with the log in fields. And, of course, a browser doesn't have a 'log out' button does it? I want to be presented with the log in fields each time I go there, so's I can log in as a different user. So I found a thread here that was similar, talking about someone with the opposite problem - constantly being logged out. And the answer was in about:preferences and such. Well I couldn't follow that trail because about:preferences didn't bring up the options that thread talked about. I suppose the answer is a cookies thing. I'd like to resolve this without having to delete all cookies. If I can. edit: removed spaces before each paragraph which caused horizontal scroll-bars.

由 James 於 修改

被選擇的解決方法

Isn't it possible to logout of that website with a logout button to clear session data?

Maybe open a Private Browsing mode window to test the page and close all PB mode windows to clear the login data. You can also use "Clear Recent History" to clear the last hour to have a fresh start. Or use the Cookie Manager or Storage Inspector to clear specific data.

從原來的回覆中察看解決方案 1

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

更多資訊

FredMcD
  • Top 10 Contributor
4269 個解決方法 59882 個答案

abrogard said


I am testing my own site. Where I need to log in with different User Accounts in order to check that aspect of IIS.

Firefox only allows me to log in with one account - visiting that site again just automatically logs in with that same account. It doesn't present me with the log in fields. And, of course, a browser doesn't have a 'log out' button does it?

I want to be presented with the log in fields each time I go there, so's I can log in as a different user.

So I found a thread here that was similar, talking about someone with the opposite problem - constantly being logged out. And the answer was in about:preferences and such. Well I couldn't follow that trail because about:preferences didn't bring up the options that thread talked about.

I suppose the answer is a cookies thing. I'd like to resolve this without having to delete all cookies. If I can.

''abrogard [[#question-1212680|said]]'' I am testing my own site. Where I need to log in with different User Accounts in order to check that aspect of IIS. Firefox only allows me to log in with one account - visiting that site again just automatically logs in with that same account. It doesn't present me with the log in fields. And, of course, a browser doesn't have a 'log out' button does it? I want to be presented with the log in fields each time I go there, so's I can log in as a different user. So I found a thread here that was similar, talking about someone with the opposite problem - constantly being logged out. And the answer was in about:preferences and such. Well I couldn't follow that trail because about:preferences didn't bring up the options that thread talked about. I suppose the answer is a cookies thing. I'd like to resolve this without having to delete all cookies. If I can.
FredMcD
  • Top 10 Contributor
4269 個解決方法 59882 個答案

I called for more help.

The users 'logged-in' status is kept in a special cookie. The user selects (on the website) to log out, and that cookie is removed.

abrogard said

Firefox only allows me to log in with one account - visiting that site again just automatically logs in with that same account.

Did you save the login data in the Password Manager? Remove it.

I called for more help. The users 'logged-in' status is kept in a special cookie. The user selects (on the website) to log out, and that cookie is removed. ''abrogard [[#question-1212680|said]]'' <blockquote> Firefox only allows me to log in with one account - visiting that site again just automatically logs in with that same account. </blockquote> Did you save the login data in the Password Manager? Remove it.
FredMcD
  • Top 10 Contributor
4269 個解決方法 59882 個答案

Also, you did log out, yes?

Also, you did log out, yes?

提出問題者

I didn't log out. There's nowhere to log out.

I didn't save any passwords anywhere.

Just checked Avast to make sure and it's saved nothing for the site.

My thought is that i need to be able to find that cookie. If there's no setting for it.

That thread I mentioned was indicating a way but it was via options that don't appear for me when I use about:preferences.
I didn't log out. There's nowhere to log out. I didn't save any passwords anywhere. Just checked Avast to make sure and it's saved nothing for the site. My thought is that i need to be able to find that cookie. If there's no setting for it. That thread I mentioned was indicating a way but it was via options that don't appear for me when I use about:preferences.

由 abrogard 於 修改

FredMcD
  • Top 10 Contributor
4269 個解決方法 59882 個答案

You should put something on your website that lets a user log out.

There is a way to log out by removing the 'login' cookies. But I don't know how it would be named.

What you could do is remove all the cookies for that site.

You should put something on your website that lets a user log out. There is a way to log out by removing the 'login' cookies. But I don't know how it would be named. What you could do is remove all the cookies for that site. * '''Cookies; ''' [https://support.mozilla.org/en-US/kb/delete-cookies-remove-info-websites-stored Delete cookies to remove the information websites have stored on your computer] {web link}

提出問題者

It's okay. I fixed it. Just needed to disable remember logins for that site.

Well I think that should fix it but it hasn't yet. I can't get a login screen yet. Keep getting the first screen after login.

That might be that browser thing where they keep throwing up the last page they had for a site... shutdown and restart firefox might fix it I think......

It's okay. I fixed it. Just needed to disable remember logins for that site. Well I think that should fix it but it hasn't yet. I can't get a login screen yet. Keep getting the first screen after login. That might be that browser thing where they keep throwing up the last page they had for a site... shutdown and restart firefox might fix it I think......

由 abrogard 於 修改

FredMcD
  • Top 10 Contributor
4269 個解決方法 59882 個答案

That was very good work. Well done.

That was very good work. Well done.

提出問題者

Well it would be if it worked, Fred. But it hasn't.

I start up Firefox and I get a log in screen. I log in and then I close that tab. Best I can do to get out of it.

Then open a new tab and go to that URL again.

No log in screen. It has automatically logged in. Or is serving me up its memory of the last page.

Or IIS is seeing it as a continuation of the previous transaction.

Or something.

I do think that's the end of what I can do with firefox though. I've told it not to remember anything about that site. I've removed all cookies from it.

Well it would be if it worked, Fred. But it hasn't. I start up Firefox and I get a log in screen. I log in and then I close that tab. Best I can do to get out of it. Then open a new tab and go to that URL again. No log in screen. It has automatically logged in. Or is serving me up its memory of the last page. Or IIS is seeing it as a continuation of the previous transaction. Or something. I do think that's the end of what I can do with firefox though. I've told it not to remember anything about that site. I've removed all cookies from it.
FredMcD
  • Top 10 Contributor
4269 個解決方法 59882 個答案

A post was flagged as Solved Problem. If the problem is not solved, please remove that flag. If you don’t, others that can help may not read this post.

Go to that message, and use the Undo link to its right.

A post was flagged as '''Solved Problem.''' If the problem is not solved, please remove that flag. If you don’t, others that can help may not read this post. Go to that message, and use the '''Undo''' link to its right.
cor-el
  • Top 10 Contributor
  • Moderator
17578 個解決方法 158995 個答案

選擇的解決方法

Isn't it possible to logout of that website with a logout button to clear session data?

Maybe open a Private Browsing mode window to test the page and close all PB mode windows to clear the login data. You can also use "Clear Recent History" to clear the last hour to have a fresh start. Or use the Cookie Manager or Storage Inspector to clear specific data.

Isn't it possible to logout of that website with a logout button to clear session data? Maybe open a Private Browsing mode window to test the page and close all PB mode windows to clear the login data. You can also use "Clear Recent History" to clear the last hour to have a fresh start. Or use the Cookie Manager or Storage Inspector to clear specific data.

提出問題者

Yep, that'll do as a work around. Using Private Browsing I mean. Failing a config setting that stops all this happening.

Good thought. Thanks. That's how I'll work.

You know I'm sure I used to be able to just log in different users on tab after tab on firefox. Kidding myself maybe?

Yep, that'll do as a work around. Using Private Browsing I mean. Failing a config setting that stops all this happening. Good thought. Thanks. That's how I'll work. You know I'm sure I used to be able to just log in different users on tab after tab on firefox. Kidding myself maybe?

由 abrogard 於 修改