Login Expire in particular period time

6 views
Skip to first unread message

sugam prakash

unread,
Sep 19, 2013, 8:03:37 AM9/19/13
to xamp...@googlegroups.com
Hello Friends,

I need a solution for login expire in a particular time frame. for example i am monitoring a particular object through a particular time period through my login, suppose i am monitoring a car for the period of 18 aug 2013 to 17 sept 2013, after this period this car session is expired so when our session is expired i am not able to login and my status show inactive in our database.


Thanks

Sugam Prakash

Ashish Choudhary

unread,
Sep 19, 2013, 10:04:44 AM9/19/13
to xamp...@googlegroups.com
Hello Sugam,
You can pick the time of server clock for reference and after subtracting it from the expire date/time, you will get the remaining time.
Now run jQuery on this remaining time to show the timer clock/counter on your page.

Check before loading the timer whether the subtracted time is greater or less than zero.

If it is greater than zero, show the clock other wise write the code to block the access to it for less than zero case.

Thanks


--
Ask New Question from : https://groups.google.com/forum/?fromgroups#!newtopic/xamppdev
 
Create filter of mails from this group http://www.wikihow.com/Create-a-Filter-in-Gmail
---
You received this message because you are subscribed to the Google Groups "PHP Developers' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xamppdev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xamppdev/a6e1a7f8-982d-451f-9fc2-5d61e2bfb5da%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages