Home » Htaccess Tools » Htaccess Questions  » cookie authorization to restricted folder based on timestamp
cookie authorization to restricted folder based on timestamp [message #1912] Thu, 08 July 2010 17:18
marsson  is currently offline marsson
Messages: 1
Registered: July 2010

Hello everyone...
I have a doubt on creating a .htaccess
here is my Idea:
I want only people accessing from one of my internal pages to be able to access the contents on the restricted folder.
that page generates a cookie with its value being the current timestamp +2 mins.

what I need to do, is for .htaccess to check the value of that cookie, compare it with the TIME_EPOCH, and if it the cookie timestamp is bigger than the current one, allow the access to the folder's content.

Is it possible?
how should I approach that?

Best Regards.
Marcelo Marsson
Previous Topic:How to redirect http to https EXCEPT for a subdomain
Next Topic:Return 404's for domain no longer in use
Goto Forum:
  


Current Time: Mon Sep 6 10:16:49 CEST 2010

Powered by: FUDforum 3.0.0.
Copyright ©2001-2009 FUDforum Bulletin Board Software