Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
Thread: How to Set a Page Timeout?
06-03-2014, 10:33 AM #1
- Join Date
- Nov 2010
- Thanked 1 Time in 1 Post
How to Set a Page Timeout?
Adding this question here as I'm not sure what the best programming language solution is.
I am working on my admin panel domain.com/admin and upon the admin not being on that page for lets say 5 minutes, I would like them to to be redirected to admin/lock.html the 'locked' state, this is like when you lock your computer, it asks you for your password again. It does not log them out from the website, only the admin section.
No login is currently established, I'm just looking for something simple for the time being to demonstrate. What is my best solution to be able to achieve this please?
06-04-2014, 03:19 AM #2
- Join Date
- Jun 2003
- Cottage Grove, Minnesota
- Thanked 1,093 Times in 1,084 Posts
Are you saying that as of now, someone gets into the admin section without a login?
Or do you mean, you want to incorporate a login, that currently you don't have?
Here is an HTML meta method:
<meta http-equiv="refresh" content="300;url=http://www.yoursite.com/admin/lock.html/" />
300 seconds is 5 minutes.
And then you have the whole PHP thing. PHP would be used to create a login, set a SESSION, and have the SESSION timeout, which logs them off.
There can be two SESSIONs ... one for the website login, one for the admin login. Only the admin login can be killed.
You didn't mention anything about using PHP.
I'm not sure where this discussion will go ...
06-04-2014, 03:55 AM #3
- Join Date
- Sep 2005
- Sydney, Australia
- Thanked 649 Times in 639 Posts
06-17-2014, 05:14 PM #4
- Join Date
- Jun 2014
- Thanked 0 Times in 0 Posts
Effortless ghd australia cheap Programs - Updated
Either is acceptable, and may be tried based about the needs you see with your child's Hair Straighteners. Gloss Black ghd IV Dark Styler available nowadays from just. . And among all the opposite products available within the market GHD makes a rapid progress in gaining the fame of becoming the most popular one. The only caution which has a "leave-in" conditioner is that curly GHD Hair that is silkier or finer in texture may be left using a film or residue in the event the leave-in conditioner is too heavy for that texture type. on top with the head, simply because this may cause unnecessary tangling.
All those flicks, curls and waves are in the same way easy to achieve with all the groundbreaking ceramic technology of this hair straightener. Instead of touring any profit the sun acts only the differing to hair. . If you've particularly short, or really long and thick hair, you could possibly be better off using a pair of ghd mini or salon straighteners. It only appears natural that due for the fact nearly all our body is fueled over the healthiest of foods, feeding ghd straighteners australia our minds exactly the same way follows fit. ) Once in position, re-fit the plastic cap for the back with the GHD straighteners and screw back up in place while using two small screws and unfortunately your micro-screwdriver.
While while using the this particular hair-styling resources. Keep the ghd styler rotating slightly while moving, not forgetting the slower you go, the tighter the curl. . Besides the usage of ceramic plates that were already mentioned the quick heat that enables the iron to get hot quickly within 10 seconds that is certainly much faster than any other inside the competition and on top of it really is that there is definitely an in-built temperature regulator that maintains steady flow of temperature also are the reasons for ghd straighteners australia the popularity. The price for the GHD website for your same pair the hairdresser used were 99 pounds. .