Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional PHP6
BOOK: Professional PHP6
This is the forum to discuss the Wrox book Professional PHP6 by Edward Lecky-Thompson, Steven Nowicki; ISBN: 9780470395097
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional PHP6 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
Old November 22nd, 2013, 10:04 AM
Authorized User
Join Date: Jun 2010
Posts: 36
Thanks: 1
Thanked 1 Time in 1 Post
Question PHP Session(chp 12) - How to set "stay connected" functionality?


i'm an owner of this book since 2009, and i've implemented the session solution, found in the chapter 12, into my website (still in developing).

I've made some tests and i notice the line "session_set_cookie_params" in the HTTPSession.php file.
I know that this function keep alive the current session even if the browser is closed. Well, this is a great thing, and it's just what i need, but what if i want to let the user choose if keep alive the connection or not through a checkbox before the login?
I've tryed to make some adjustments but i can't figure out how do this...
Is there a way to implement this functionality?

Thank you.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chp 7: Error when pressing "Hi-Pri Tasks" - A fetch request must have an entity.' haze1021 BOOK: Professional iPhone and iPad Database Application Programming 0 December 21st, 2011 09:56 PM
".axd file not found" stops functionality of PostBackUrl Mahesha999 BOOK: Professional IIS 7 and ASP.NET Integrated Programming ISBN 978-0-470-15253-9 0 July 5th, 2011 02:55 PM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
Page 417 step 12 "Bound to:" field Dan Cern BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 August 24th, 2009 12:15 PM

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