Guest convention Posted October 13, 2006 Share Posted October 13, 2006 I know how to work with cookies and sessions, but I am wondering if they can be used to restrict direct access to files other than PHP (such as PDFs, DOCs, MP3s, etc.)? Like, if someone typed into their browser's address bar: 'www.mydomain.com/example.pdf' and if they don't have a cookie set, it would redirect them, give them a message, or something? Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.