Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8704689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:10:18+00:00 2026-06-13T03:10:18+00:00

When I am open the browser again after closing it with my site in

  • 0

When I am open the browser again after closing it with my site in admin logged-in mode it again show me in logged as admin instead of guest. Doing the same thing in IE on Windows works fine. This issue is noticed only on Mac on Safari browser. I have tried workaround by killing the session using java script by using “onbeforeunload” event but this causing another problem that when I am refreshing the page or move to other pages on the site it gets logged out. Refresh event 116 of javascript is also not working on safari.
Code I have written is something like this:

function checkKeycode(e) {
var keycode;
if (window.event)
    keycode = window.event.keyCode;
else if (e)
    keycode = e.which;
if (keycode == 116) {
    isClose = true;
}
}

Can any body tell me solution of this problem, that how to kill the session on client side using javascript, so that next time when I launch my site on safari braowser it show me as guest not as admin.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:10:19+00:00Added an answer on June 13, 2026 at 3:10 am

    You are probably closing the last Safari browser window but not quitting the browser. Closing the last window will exit most applications on Windows, but not on OS X. You need to explicitly quit though the menus, ⌘+q, right clicking on the icon in the dock, etc. (Session cookies are deleted when the browser is quit.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to create a winforms app, that detects an open browser
When an event occurs in the webserver, I want the open browser of my
Possible Duplicate: Open child browser window from child window I have a list of
How do I open a browser window (Safari) with Ruby on a Mac and
I basically want to open a browser window from Word using VBA that does
I have the following code to open a browser in Perl $IE = Win32::OLE->new(InternetExplorer.Application);
I want to force user to download images. Not open in browser. It is
If I open a new browser window and open a new page in it
How can I easily open a new browser with just some help text in
I need to open a second browser window or tab, but it must have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.