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 4 of 4

Thread: Finding in a JAVA program whether the system has (or had) visited a website in a browser and logged in there

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Finding in a JAVA program whether the system has (or had) visited a website in a browser and logged in there

    In my project I am required to create a website. The user (the customer) who visits the website will login and get authenticated. On his/her (the user's) machine a java Swing program would also run which is required to determine whether that website has been visited (in a browser) by the user and whether the user has successfully loggedin in that website. If the java Swing program on the user's machine finds on checking that the user has successfully logged in then the control of the program will proceed in a specific direction and if the program finds that the user was not authenticated then the Java program would proceed in a different direction.
    My question is How can I determine in my Java Swing program what I am looking for?

    Thanks you very much.


  2. #2
    Senior Member
    Join Date
    Jul 2013
    Location
    Europe
    Posts
    666
    Thanks
    0
    Thanked 121 Times in 105 Posts

    Default Re: Finding in a JAVA program whether the system has (or had) visited a website in a browser and logged in there

    Usually the log in information is stored as a cookie in the browsers cache. Perhaps there is some third party library that lets you get access to the browser cache. I do not know of any such library though, but it might be helpful if you would ask the developers of the browser software directly.

  3. #3
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Finding in a JAVA program whether the system has (or had) visited a website in a browser and logged in there

    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Finding in a JAVA program whether the system has (or had) visited a website in a browser and logged in there

    Also posted at: Finding in JAVA program whether the system has (/ had) visited a website on Internet
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. probelm in finding the url of video in a particluar website
    By ankityadav in forum Totally Off Topic
    Replies: 2
    Last Post: September 25th, 2013, 11:48 PM
  2. probelm in finding the url of video in a particluar website
    By ankityadav in forum What's Wrong With My Code?
    Replies: 2
    Last Post: September 25th, 2013, 11:48 PM
  3. Mimicking a browser sigining into a website
    By JohnBoy in forum Java Networking
    Replies: 0
    Last Post: November 15th, 2012, 09:06 AM
  4. login to website as user, no browser
    By chopficaro in forum Java Theory & Questions
    Replies: 6
    Last Post: May 27th, 2010, 06:55 PM
  5. get proxy settings from the default system browser
    By reguapo in forum Java Networking
    Replies: 0
    Last Post: January 15th, 2010, 08:43 AM

Tags for this Thread