Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    1
    Member #
    35472
    Is there away to create notifications when members log-in to your website? How would you go about doing this?
    Thanks!

  2.  

  3. #2
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    Depends on the notification method you want and what scripting languages you have available.

    You could send an email everytime someone logs in, but if you've got a busy site that might be a problem.

    You could set a session variable and log it to a DB everytime they login ... Set the key as active once logged in, every time they do something, update that key. Session variables are usually for 20 minutes of inactivity, then it it dies.

    You can then poll the DB on a page... Or like WDF uses, to show who's online. AD display it somewhere on the page.

    All this will depend on if you're using PHP, asp , if you have a DB available to write the session info to, etc.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:27 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com