Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

The Gator

Members
  • Joined

  • Last visited

  1.    sunwukung reacted to a post in a topic: The big list of HTML and code editors
  2. Hello there!
  3. Hello there!
  4. You are reloading the page, aren't you?
  5. So after waiting 60 seconds and then reloading a page is the session still valid?
  6. I'd need more information than that to be able to help. What actually happens? What does your code look like?
  7. Its probably a good idea to work it into the function that you use to secure your pages, or setup the session for your users. You'd want to call that from every (secured) page to prevent unwanted access to your site.
  8. If you mean can you detect when someone closes their browser window, then the simple answer is no. The best thing to do is make your user sessions timeout after a pre-determined period of inactivity. For example: if (array_key_exists('accessed', $_SESSION)) { if (time() - $_SESSION['accessed'] > 60 * 30) { $id = $_SESSION['id']; mysql_query("UPDATE myMembers SET logged_in='N' WHERE id='$id'"); // session last accessed more than 30 minutes ago session_destroy(); $_SESSION = array(); print 'Your session has expired due to inactivity.'; exit(); } else { $_SESSION['accessed'] = time(); } } Although this will obviously only get run when someone makes a request for some resource on your server.
  9.    The Gator reacted to a post in a topic: Sourcing images and fonts
  10. And probably best not to take this approach either
  11. FWIW, that sounds like a reasonable quote to me. Good luck!
  12. I wish I'd know about this sooner. Thanks for posting.
  13.    The Gator reacted to a post in a topic: Icon search engine
  14. http://icons.mysitemyway.com/
  15. Welcome and good luck with your freelance venture.
  16. Thanks, I'll give that a go!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.