Free PHP Tutorials

Learn to replace php's file_get_contents function with the more secure cURL

Learn to replace php's file_get_contents function with the more secure cURL.
Category: PHP | View Tutorial

Views: 206




CakePHP - Refreshing the Auths session

If you have developed with the Auth Component at all, you would know by now that the Auth session does not refresh when ever a user updates its information (such a drawback). This is extremely useful in many situations, especially when a user updates his profile, and you need to echo the new content in the views. I have written the following method, which should be placed in your App Controller. It can refresh the whole session or just a single key in the session.
Category: PHP | View Tutorial

Views: 161




Partners Sites

Webmaster Links

dns test The Free Site!