Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Advice on Java personal msg system?

  1. #1
    Junior Member cyborgbill's Avatar
    Join Date
    Mar 2010
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Advice on Java personal msg system?

    Hey guy's

    I am working on a java project (website) and was wondering how i would go about implementing a messaging system for registered users of my website.
    If any one could give any insight as to how this can be achieved i would be most grateful.

    --Thanks--


  2. #2
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Posts
    834
    My Mood
    Cynical
    Thanks
    7
    Thanked 105 Times in 90 Posts

    Default Re: Advice on Java personal msg system?

    Post the message to a file that requires the user to be loggged in to read it, so when they try to access it the server checks to see if they are logged in on the correct username, if they are then allow them to view it, otherwise force them to log in. Of course you would implement automatic checking to see which messages belong to the account the user is currently logged in on and display those, but you would need the first step for privacy reasons.

    Regards,
    Chris

  3. The Following User Says Thank You to Freaky Chris For This Useful Post:

    cyborgbill (March 30th, 2010)

Similar Threads

  1. [SOLVED] Web portal accessing files on the user's system via the Java I/O stream?
    By rendy.dev in forum Web Frameworks
    Replies: 2
    Last Post: January 18th, 2010, 08:46 PM
  2. Need some general and specific advice.
    By Morevan in forum Loops & Control Statements
    Replies: 2
    Last Post: January 3rd, 2010, 11:31 PM
  3. Programming advice
    By silverspoon34 in forum Java Theory & Questions
    Replies: 1
    Last Post: November 6th, 2009, 04:19 PM
  4. System.CurrentTimeMilliseconds
    By Dave in forum Java SE APIs
    Replies: 1
    Last Post: August 26th, 2009, 11:02 AM
  5. i need some advice ....
    By mdstrauss in forum Java Theory & Questions
    Replies: 8
    Last Post: July 24th, 2009, 02:29 PM