Results 1 to 4 of 4
  1. #1
    pradeep24 is offline Member
    Join Date
    Jul 2014
    Posts
    5
    Rep Power
    0

    Default how How to send user back to login page after a specific idle timeout

    I want to send user back to the Login page after idle time of 10 secs. If user clicks again on screen before 10 secs are over, time will automatically reset to new 10 sec and so on...
    I want to use the same timeout on multiple pages. Please help me with its java code :-(

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    12,059
    Rep Power
    25

    Default Re: how How to send user back to login page after a specific idle timeout

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    pradeep24 is offline Member
    Join Date
    Jul 2014
    Posts
    5
    Rep Power
    0

    Default Re: how How to send user back to login page after a specific idle timeout

    Yes its for android app. But if u can provide me some code in java. i will then manipulate it in my android app.

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,423
    Blog Entries
    7
    Rep Power
    27

    Default Re: how How to send user back to login page after a specific idle timeout

    I'd send a cookie to the client with a time stamp (according to the server); no cookie means a first time login and a cookie that is too old means a redirect to the login page ...

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Replies: 16
    Last Post: 05-01-2014, 12:54 PM
  2. Go back to previous page using session in JSP page
    By gopikarikati009 in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 06-23-2011, 10:30 AM
  3. Send login credentials to applet in html
    By spooky in forum Java Applets
    Replies: 2
    Last Post: 05-14-2010, 03:50 AM
  4. Replies: 1
    Last Post: 03-15-2010, 01:39 AM
  5. terminating the page if user sits idle.
    By shivakumari in forum Java Servlet
    Replies: 9
    Last Post: 04-11-2009, 07:46 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •