I need to know what governs the creation of mysql processes, and how I can limit them.
I've got a linux server running Mysql/Php to host a popular website... It averages about 150 requests per second. The hardware is a dual athlon MP with 1 gig of ram. Every so often say once every other day...
One addition...
My code looks like this: (someone please please please help. I'm dieing.)
<?php
session_start();
echo session_id();
?>
One comment that I should have mentioned in the origional post-- I've tested the webpage when the client has cookies both on and off. This fact should...
What POSSIBLE SCENARIO makes the session_id() function return null????
I have a website where <i>SOMETIMES</i> when you visit the main page, your session_id() is blank. This causes a problem, for it means that session_start() is not maintaining the session for subsequent pages.
The problem...
Hi everyone,
This is a weird problem that does not happen to everyone on my website, and it occurs seemingly randomly.
I use the default method of cookies to propagate a session. Sometimes, I find that this cookie DOESN'T STORE THE SESSION ID! The cookies name is by default PHPSESSID, and if...
I think everyone is diagnosing this wrong. This code works for me:
---------TOP OF PAGE HERE---------------------
<?
session_start();
header("Location: http://www.yahoo.com");
?>
----------------------------------------------
Make sure you're not doing this:
-----------TOP OF...
Hi folks,
When I'm looking at my server, I notice whenever someone starts a new session a tiny file gets created... This file has whatever session variables have been registered in it. MY QUESTION IS: Does session data get stored to ram? Will extensive use of session data gobble up ram, or...
Well program secrets put things in very good persepective, but i have a helpful tip.
I was in the same boat you were in a few weeks ago. If you are not familiar with SQL stuff, as was the situation for me and are going to mySQL/PHP (which I did), use this lil script called PHPMYADMIN. It...
Dude fellas, sorry ignore this post. I just jumped out of bed to discover that this post doesn't make coherent sense (too tired maybe?). Of course my variable wasn't going to change cuz I kept resetting it back to 5. Solving this simple example isn't near helping me with my larger problem...
The php manual has conflicting data on this issue, and I keep hearing different things from everyone.
I have one variable that I need to be constantly updated. Using session variables how can I keep this variable updated? I find that a if I do-
session_start();
$foo =5;
session_register('foo)...
I've made this post in a few of the databse forums to no avail, I'm hoping someone here can gimme their two cents:
I'm making a website, and I'm fairly new to databases. My friend and I are butting heads on which is the best way to design my database. My database has members which are kept...
I'm making a website, and I'm fairly new to databases. My friend and I are butting heads on which is the best way to design my database. My database has members which are kept track in the database using a Unique ID#. Each "member" has a bunch of columns of data associated with it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.