Check if Internet Connection Exists with jQuery? [duplicate]

This question already has answers here: Detect the Internet connection is offline? (22 answers) Closed 7 years ago. How do you check if there is an internet connection using jQuery? That way I could have some conditionals saying “use the google cached version of JQuery during production, use either that or a local version during … Read more

Communication between tabs or windows

I was searching for a way how to communicate between multiple tabs or windows in a browser (on the same domain, not CORS) without leaving traces. There were several solutions: using the window object postMessage cookies localStorage The first is probably the worst solution – you need to open a window from your current window … Read more

How does cookie based authentication work?

Can someone give me a step by step description of how cookie based authentication works? I’ve never done anything involving either authentication or cookies. What does the browser need to do? What does the server need to do? In what order? How do we keep things secure? I’ve been reading about different types of authentication … Read more

How to determine user’s locale within browser?

I have a website (Flash) localized into a dozen of languages and I want to auto-define a default value depending on the user’s browser settings in order to minimize the steps to access the content. FYI, I cannot use server scripts due to proxy restrictions, so I guess JavaScript or ActionScript would be appropriate to … Read more