Hi
I have a site that relies heavily on session variables.
After awhile tho, the session variables seem to be deleted automatically and I'm wondering if there is a way to keep them alive longer?
Any help appreciated.
Alright well I've got it down to a few seconds now... And I'm pretty much out of ideas.
Can anyone tell me if this seems a little slow?
http://www.3delement.com/newsite
Thanks DRJ478.
I tried what you said, and outputed the total time it took to generate it... I couldn't believe that it was 7 seconds.
Obviously this needs optimizing
Thanks again
Hey
I've almost finished a web page based on php but I find that the loading time is too slow.
Now, the php script is executed on the server, so shrinking the size of the php script isn't going to speed anything up, is it? ( I'm using some unnecessary includes that could be organized )
Then...
During the last week or so, I've encountered a problem where my computer slows down very gradually until I can barely do anything! I have a 3 Ghz with 512 Ram so it should theoretically be blazingly fast. The problem is explorer.exe (when I look in the processes under the task manager) takes up...
Here's some code if you're too lazy to look it up
function fixTables()
{
var tableLength = document.images['imgSpan'].width;
for (var i=0; i< 9; i++)
{
var elemName = 'cell' + i;
document.getElementById(elemName).style.width = tableLength - lengths[i];
}
}
In my case, there is...
Hey joelmac, have you got it yet?
Sorry I really should have described my solution... I know how frustrating that can be when you finally find a thread with the same problem and all the guys says is : "I fixed it! Woohoo!"
Anyway
What I did was I included a blank image of zero height in the...
Hi
I'm using fstream to log some messages to a file and there are some cases where it's important to flush the buffer to the file instead of letting it flush when the buffer is full. This works, it's just that along with the written parts of the buffer, it writes all this garbage to the file...
I just got Visual studio .NET (I use it at work all the time) but for some reason when I view project properties, my visual studio doesn't have a c/c++ tab... I looked in the help files but it didn't tell me anything.
Anybody know why?
THanks
Hi
I have a solution in VS.NET with a number of projects that I'm working on. A lot of the time, a project depends on another and so before building it VS NET checks to see whether the dependent project has been compiled yet, and most times it will find that it is up to date.
However, one...
Hey
I think I have a pretty good idea of how to do it now but I can't get your idea to work...
Here's a test page I wrote that doesn't work:
<html>
<head>
<title>Untitled Document</title>
<script>
function changeDims(elemName, w, h)
{
document.getElementById(elemName).style.width = w...
Thanks Spiny, that helps
Now I need to figure out how to get the width of each table... I tried giving the table an ID and writing:
document.getElementById(tableID).style.width
But this doesn't return anything... Unless I set it equal to something first.
Is there another way to find the...
Hi
The site I'm working on right now includes a php script that builds a table so that it looks like a tree of links. The problem is that there is no way to tell what the final width of the table will be... And since I need to specify exact widths for each column (otherwise it looks odd), I'm...
Thanks tviman
That must be it then. The problem with that is there is no way to pre-calculate the width of the table...
At the moment I am planning on building the table via php, then once it loads fixing the widths of the cells with javascript....
Reading up on some javascript now
Hi
I'm working on this php script that generates a tree of links.
This works great in netscape/mozilla but in IE some cells are much to wide and look ugly.
See http://www.3delement.com/newsite/index.php?tree=a:5:{i:109;i:1;i:2;i:1;i:1;i:1;i:63;i:1;i:81;i:1;}#81
I don't know what else to do...
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.