Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
| Search | Today's Posts | Mark Forums Read
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 20th, 2010, 05:37 PM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Exclamation storing session in the database with session_set_save_handler (Zend Cert)

Hey,

Can anyone advise me with regards to this question from a mock zend exam. The PHP docs make it clear what session_set_save_handler does, but the question is awkwardly worded.


If you would like to store your session in the database, you would do which of the following?
  1. It requires a custom PHP extension to change the session handler
  2. Implement the session_set_save_handler() function
  3. Create functions for each session handling step and use session_set_save_handler() to override PHP's internal settings
  4. Configure the session.save_handler INI directive to your session class
I can't see the distinction between options 2 and 3 here, so maybe someone can advise me if they have been in this position before?

Cheers,
Picco
__________________
_______________________
Ayrshire Minis - a Mini E-Community
http://www.ayrshireminis.com
http://www.crmpicco.co.uk


Similar Threads
Thread Thread Starter Forum Replies Last Post
improving SQLite write performance with PRAGMA (Zend Cert) crmpicco PHP Databases 0 May 20th, 2010 05:33 PM
PHP Design Pattern - interface (from Zend Cert) crmpicco PHP How-To 0 April 21st, 2010 04:52 PM
Storing a dataset across a session jainnid General .NET 1 December 2nd, 2005 03:17 PM
Storing objects in Session variables mega ASP.NET 1.0 and 1.1 Basics 8 November 16th, 2004 02:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.