Skip to main content

skip to main content

developerWorks  >  Open source  >

Cook up Web sites fast with CakePHP, Part 4: Use CakePHP's Session and Request Handler components

Streamline PHP applications

developerWorks
Go to the previous pagePage 5 of 9 Go to the next page

Document options
PDF format - Fits A4 and Letter

PDF - Fits A4 and Letter
221 KB (27 pages)

Get Adobe® Reader®

Sample code


My developerWorks needs you!

Connect to your technical community


Rate this tutorial

Help us improve this content


Summary

Any Web application will run into the problem of storing sessions eventually. With CakePHP, you are given a great deal of flexibility on how you want to address the issue. Database sessions can easily be set up by changing a parameter and creating a table, which is a big time-saver.

You also learned about how the Request Handler is a multipurpose tool for changing the way your application is output. You saw how it can be used to handle Ajax requests and output RSS feeds. When you are playing around with CakePHP, try experimenting with other request types, such as detecting mobile devices.



Back to top



Go to the previous pagePage 5 of 9 Go to the next page