473,377 Members | 1,151 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,377 software developers and data experts.

how to change session time...

hello,
i want to change session time.the session time should differ according to section of my module.
i have tried with these function
Expand|Select|Wrap|Line Numbers
  1. ini_set('session.gc_maxlifetime'), 
  2. ini_set( 'session.cookie_lifetime', 3600 * 24 );, 
  3. $currentTimeoutInSecs = ini_get(’session.gc_maxlifetime’) 
  4.  
but then also its not happening.
please help me.
thanks in advance
Jun 19 '08 #1
3 1691
even i have tried with setting cookie ,then also it's not happening...
plz help me out
Jun 19 '08 #2
dlite922
1,584 Expert 1GB
do you mind me asking why you want the session time to change so frequently?
Jun 20 '08 #3
Atli
5,058 Expert 4TB
Hi kolhapur.

Please do not double post your questions!
It only serves to create confusion and extra work for the entire community.
Also, use [code] tags when posting code examples.

I have merged the duplicate thread into this one.

Please take a look at the Posting Guidelines before posting.

Thanks.
Jun 20 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: N. Shehzad | last post by:
This button click is fired for first time, but does not get fired for second time if I click. It again fires 3rd time, but not 4th time and so on.. I want to button to be fired everytime. I want...
7
by: Name | last post by:
To those that can save me from myself: I have a site that has been working perfectly for a few years now, under PHP 4.2.3. Since later versions of PHP run so much more quickly, I wanted to...
4
by: Shapper | last post by:
Hello, I have this image in my HTML code: <img src="images/en-US/myImage.jpg" /> I want to change the URL using the value of a Session variable. <img src="images/ Session("culture") Value...
1
by: Tim F | last post by:
I can not persist a Session across page changes. I have it configured as follows: * VS .NET 2002 * <pages buffer="true" enableSessionState="true" enableViewState="true"...
0
by: Shaun | last post by:
Hi all, I'm trying to implement a custom session handler that writes session data to a MySQL database. It works fine about 99% of the time. Trouble is, at random intervals, I get entries like...
37
by: sam44 | last post by:
Hi, At startup the user log on and chooses the name of a client from a dropdownlist, which then changes dynamically the connection string (the name of the client indicates which database to use)....
2
by: ricardo.sobral.santos | last post by:
Hello, I am trying to get the value of the radiobuttonlist. The problem is that I need it to be unselected at every page load. The radiobuttonlist is set to autopostback (true). My idea is...
25
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
11
by: cybervigilante | last post by:
I can't seem to change the include path on my local winmachine no matter what I do. It comes up as includ_path .;C:\php5\pear in phpinfo() but there is no such file. I installed the WAMP package...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.