that is a good idea. sometimes i wrap my head around this stuff so much i forget to try the obvious. I use galeon so i will check my cookies. I just use fedora for my server. fedora is basically rh 9.5. all though i am using it for a server that i ssh into. for my desktop i use Gentoo...
thank you,
I will say that i can stat the session file in /tmp and it has the appropriate perms of read, write, and execute. I don't think the environment is that big of a deal here. Fedora is just one of the umpteen linux distros. Even a bsd would be close. Windows on the other hand would...
I am under the impression that session_start() will automatically create session id's for me so that unless i really one to make my own, i don't have to use session_id(). Is this true ?
Thanks for pointing that out. I guess I really didn't think about the fact that $_SESSION is a super global and I was using that as a more convenience. I will check out session_id() later today and post the results. So has this ever happened to you before ?
thank you for your response, I doubt that session.auto_start is the culprit and I will look when I get home, I do remember just doing a var_dump($_SESSION) looking for a funny session id but I did not see one. I will try that when I get home and post the output. Thanks again, and of course, any...
Hey there,
Thank you for your response. I am at work now and will not get to that later this eve. If I may ask, what are you expecting to be printed out? I can do a var_dump($_SESSION) and what is already stored is displayed but when I try and append $_SESSION as previously stated, I get...
when you ask for my run env do you mean my OS: fedora == LINUX.
I use the $_SESSION variable to keep a "STATE" among the pages. I can write to the /tmp dir early on but when i go to update it ie: $_SESSION['aNewEntry'] = "some new value";
I get those errors.
Any suggs...
Hey there,
Has anyone seen this problem before:
Warning: Unknown(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of...
java does not handle prefix and postfix the same way that other lang's do. in java, prefix will change the value of the variable but postfix will not.
int i = 2;
i = i++;
System.out.println("i: " + i);
will give the output of 3.
hope this helps.
Hey there,
I am running java 1.4.1 on redhat 7.1. I compiled and ran your code first try with no problems.
Maybe try to run it again at another time during the day???
...that fork() does not really work very well with that OS, I run Linux at home. The reason is that windows is a multi-threaded operating system and *nix's are multi-process. Both achieve the same end result but get there differently. The long and short of all this ho-hum is that you may save...
Hey there,
I am hoping that perl can help me with this one. I am looking for a perl programming job in southern california. I am interested in either full time or consulting. I have been been using perl and linux for 4 years now and have recently decided to relocate to Southern California...
If the file is ONLY going to be read from, then you do not need to lock the file. This is becuase reading a file does NOT change/modify it. Since the file is not changed, as many people who want to read the file can or at least as many as the operating system will let. If the file will also...
just a tip that may help:
try and open the file like this:
open(FILE, ">>C:\foo.dat") or die "file i/o err: $!\n";
the 2 things that I noticed are that the file separator you use is a forward slash but in windows it is a back slash and the other is that you are not...
see if this might help you.
#!/usr/bin/perl -w
use strict;
use CGI;
my $cgi = new CGI();
print $cgi->header;
my %HashOfFunctions = (
'add' => sub {
my $first = shift;
my $second = shift;
return($first + $second);
},
'average' => sub {...
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.