Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 17th, 2004, 07:03 AM
Authorized User
 
Join Date: Jul 2004
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to vinodkalpaka Send a message via Yahoo to vinodkalpaka
Default set maximum session time through program

Hello
can i set maximum session time through php program.
Thanking in advance.
Vinod

Reply With Quote
  #2 (permalink)  
Old December 17th, 2004, 10:44 AM
Authorized User
 
Join Date: Dec 2004
Location: Tunkhannock, PA, USA.
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to peg110
Default

Sertainly by use of coding you can set a session value (such as time) and then check it. If the time has exceeded a pre-determined length then you can call the session_destroy.

Check these links for more assistance.

http://us2.php.net/manual/en/ref.session.php
http://us2.php.net/manual/en/function.session-start.php
http://us2.php.net/manual/en/functio...on-destroy.php

Paul Gardner
------------------
PHP-LIVE help
Via Web @ http://www.mnetweb.co.uk/irc
Via IRC Client pgardner.net:6667
room #PHP
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set the maximum minutes in setTimeout() or kasipandian Javascript 2 February 18th, 2008 12:37 PM
Maximum job process time out lathika ASP.NET 2.0 Basics 0 July 11th, 2007 02:26 PM
Set Session to FormView Label sterreyl ASP.NET 2.0 Basics 0 March 29th, 2007 11:16 AM
Garbage Collection Issue in Time Sensitive Program Ron Howerton General .NET 0 January 12th, 2005 10:32 AM
set time Dennis JSP Basics 0 December 2nd, 2003 12:47 PM



All times are GMT -4. The time now is 08:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.