I have a fairly good understanding of IIS 6.0 and so this is beginning to confuse me some what.
Our clients are running on Windows 2003 server with IIS 6.0 which in turn runs the site that we had created. The thing is our site does rely on sessions so when one ends it runs the Session_OnEnd within the global.asa and runs some other functions.
But just recently a number of our clients are experiencing the problem that the sessions are not ending so the Session_OnEnd is not running therefore causing some major problems with their sites.
Two of our clients has said recently that they had installed SP2 but I am not sure if this would change any of the settings or **cough** BUGS **cough**. Can anyone please shed some light on what the SP2 actually did and if any of the settings for IIS 6.0 would of been reset.
I operate vbulletin across my site including a couple of subdomains. I've just moved to a new server only to find that sessions are no longer recorded unless the user actually visits the forum (ie. forum.mysite.com).
The rest of my site uses the following code to track sessions / maintain connection to database:
PHP Code:
// vB Global File$cwdir = getcwd();chdir('/home/mysite/public_html/forum/');require_once 'global.php';chdir($cwdir);
Would anyone know what could be the problem? I'm running vBulletin 3.6.8, PHP 5.2.3, Apache 1.3 and MySQL 4.1.22. Safe mode is off, mod_security is off, open_basedir is off.
I recently upgraded to PHP 5.2.3 and now some of my customers sites are throwing errors.
Apache 1 with PHP 5.2.3 on RH.
Code: Warning: session_start() [function.session-start]: Unknown session.serialize_handler. Failed to decode session object. in /home/kaaoscom/public_html/wow/raids/auth/auth_phpraid.php on line 70
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kaaoscom/public_html/wow/raids/auth/auth_phpraid.php:70) in /home/kaaoscom/public_html/wow/raids/auth/auth_phpraid.php on line 70
Warning: Unknown: Unknown session.serialize_handler. Failed to encode session object. in Unknown on line 0
I'm having some problems configuring my server sessions in php.
Server espec:
WHM 11.2.0 cPanel 11.11.0-S18033 CENTOS Enterprise 4.5 i686 on standard - WHM X v3.1.0 PHP version 5.2.4 MySQL version 4.1.22-standard Apache version 1.3.39 (Unix)
Sessions def. in php.ini:
Quote:
Code: [Session] session.save_handler = "files" session.save_path = "/tmp/sessions" ; in the case of files, this is the ; path where data files are stored session.use_cookies = 1 session.name = "PHPSESSID" ; name of the session ; is used as cookie name session.auto_start = 0 session.cookie_lifetime = 0 ; or if 0, until browser is restarted session.cookie_path = "/ " session.cookie_domain = session.serialize_handler = "php " ; php is the standard serializer of PHP session.gc_probability = 1 ; 'garbage collection' process is started ; on every session initialization session.gc_maxlifetime = 1440 ; data will be seen as 'garbage' and ; cleaned up by the gc process session.referer_check = ; externally stored URLs containing ids session.entropy_length = 0 session.entropy_file = ; session.entropy_length = 16 ; session.entropy_file = /dev/urandom session.cache_limiter = "nocache " ; determine HTTP caching aspects session.cache_expire = 180 session.use_trans_sid = 1 ; by compiling with --enable-trans-sid
Register globals are ON
First I recieved about 7 e-mails from clients saying that in joomla pre instllation teste sessions.save_path was unwritable. I went to /temp created a sessions folder and chmoded it to 777
After that they still can't login on the admin area Error: Warning: session_start() [function.session-start]: Cannot find save handler files in /home/asasdosa/public_html/site00/administrator/index.php on line 111
From what I could read on-line in joomla this means that clients can't save sessions file in the session.save_path although it is writable. But never saw a solution for it, because it was all client oriented. All the solutions were contact your isp.
Well they did contact, but the isp doesn't know how to fix it
Is there a way in the php.ini file to force all sessions to be stored in a database? For example, in ColdFusion you can configure sessions to be stored in a db. Can you do this in PHP? Thereby forcing all sessions no matter what the customer specifies to be stored in a db.
I've come across an issue where our users are not logging out of their terminal services session properly. Whether via TSWeb or MSTSC (remote desktop), if they close the browser or RDP window using the x it keeps the session alive for upto 1 minute.
The problem with this is that we use terminal services to host an application for users who can't install it, so other users that login (using a generic username and password) are adopting/hijacking the original session and seeing someone elses data.
Does anyone know of a way to force a new session each time a user connects to RDP? Whether via TSWeb or MSTSC (remote desktop)?
While I was using my VPS, I was disconnected 2 times and when I re-connected again, it told me to choose 1 from 2 sessions to continue? Can anyone please tell me how can I create sessions like this and how to delete one of them ?
I'm in the process of configuring my company's new server and I've hit a slight stumbling block. What's happening is that PHP is creating its sessions like normal with the exception of no permissions being set for them. This then means that errors are thrown up when PHP attempts to open the session files. Can anybody tell me why this is happening? I have set the sessions directory to octal 0777 for the time being.
I was looking at some load balancers hosting companies offer and some of the load balancer specs say they can handle up to 15million concurrent sessions(users online at the same time), so does this mean if i had a site like wikipedia that had 15 million users online at the same time, would i be able to do this with only 2 dedicated servers, or will the Cpu's not be enough?
I have a problem for ask WHT. I have 3 session in my Windows 2003 Server but we can only 2 person connect but i want 4 or more connection to my server. Hown can i do it?
suddendly some of my sites in my server is taking sessions errors...then after a while all its going ok and then again the same problem...the problem still continues.from what might be the problem?a php update?mysql update?any exprerience?
i havent made any change.my server is linux has centos 4.7
I am trying to capture 3-4 digits when sent as part of a URL, for them to be proxied to another URL. I have no control over how the source sends this data, I am supposed to redirect it. Which works.
The problem is this works for all URLs that have digits to this server. I am expecting to trap URLs that send digits as part of the first call to the server, but this also affects URL calls that are part of other server call transactions, once digits appear, it gets redirected. What can I do to stop this interference?
I am planning to get a Juniper firewall, but due to SSG140 has a maximum of 48,000 concurrent sessions per second, so it triggers me how do I measure the concurrent session of a linux server of the total throughput instead of just port 80?
i hosted one server socket application in my dedicated server which is recving the data from different units(vehicle tracking system) through port no 4444.in dedicated machine i am keeping one active session always...that means my socket application exe is opened always in an active session ie sectionA.This session is not logged off insted i used to close the rdp for keeping this session active.Based on settings if userA accessing SessionA then userB cannot able to reach the active sessionA at the same time instead new sessionB will open for userB.
now my question is
if userB also opened socket application in SessionB with same portno ,then which soket application will recive data from the units...whther the applictaion from sessionA or from SessionB?
We have setup and are currently testing a load balanced cluster using heartbeat and ldirectord. One of the problems we have come across is that we are unable to reliably use the same web server for connections from the same user. As a result the php sessions are getting in a bit of a muddle.
Obviously its not something that we can easily sync between servers like the customers other web content. We are looking at either storing the sessions in a database or NFS.
The site is pretty busy and we are a bit worried that when the site goes live both these options will slow everything down.
Apart from using different load balancing software is there any other solutions we could use for this? Has anyone stored php sessions in a database on a busy site or on a NFS?
I'm running a Windows 2003 based Vps, I'm looking to have more than 2 sessions of RDP at one time, I think every people know that is setted to 2.
I want only one more, at the moment I have admin acc always running, #1 friend account (where there are running 2 process always) and now I want #2 friend account for run another process.
I thought FF-MPEG was correctly installed on the server but it doesn't seam to be showing up in the phpinfo. Does anyone know of a way to check if FF-MPEG is successfully installed?
I have just followed a manual online for installing ffmpeg in 5 minutes, I've been requested to enure the 3gp codec is installed, how can I install this codec?
I have installed zend on my server. but when it tried to load, this comes out..
Failed loading /usr/local/Zend/lib/ZendExtensionManager.so: /usr/local/Zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
I have a problem with Fedora linux server. I have two copies of PHP installed.
Now I have problems with modules, which are compiling with new version:
Quote:
[20-Nov-2007 03:27:30] PHP Warning: PHP Startup: json: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20050922, debug=0, thread-safety=0 These options need to match in Unknown on line 0
I've already removed all paths from bash and set only path to new version:
path=/usr/local/bin
Old version is in /usr/bin/
When I do phpinfo() after this change, I get old version info...
I wonder what should I do? Will removing both PHP and installing newest version will be a good idea or I can get more trouble?
I installed apache on windows 7 today and have spent the last 4 hours trying to get php to work. What to do next and the more I make changes the more I am forgetting where I started.