andyd34 Posted April 17, 2009 Share Posted April 17, 2009 I am setting up a secure area within my site. I have set the session but is it possible to configure the htaccess file to restrict access based on this session Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted April 17, 2009 Share Posted April 17, 2009 A session is just a container that holds variables between visits to a page or between different pages on your site. It is up to your code how you use the variables that you store in the session. Quote Link to comment Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted April 17, 2009 Share Posted April 17, 2009 You can secure data with PHP session and you can secure data with apache .htaccess password protected directory but you can't mix them. Use only one of them. Is that what you wanted to know ? Quote Link to comment Share on other sites More sharing options...
andyd34 Posted April 17, 2009 Author Share Posted April 17, 2009 Yes thanks, thst answers my question!! 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.