Hi,
I need to make sessions work in my local machine .. I'm using Apache 2.0.49
on WINDOWS XP PRO.
my php.ini sessions section is
session.save_handler = files
session.save_path = C:\php4\tmp
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 1
session.cookie_lifetime = 0
Dre wrote:
Hi,
I need to make sessions work in my local machine .. I'm using Apache 2.0.49
on WINDOWS XP PRO.
my php.ini sessions section is
session.save_handler = files
session.save_path = C:\php4\tmp
A common problem is that this path is not writable by the webserver
please check for that.
if u can give me an instance of a writable path it would be great.
and yes the data do not get saved and I can not run any thing that depends
on sessions as they do not get registered
Raditha Dissanayake [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre wrote:
Hi,
I need to make
Some days ago I asked some questions concerning php and sessions
Apparently it seems to be a bug:
'When you use a session name that has only numbers, each call to
session_start seems to regenerate a new session id, so the session does
not persist.'
Hi,
I'm kinda new at PHP and I was trying to install one of the mailing lists
and newsletter systems and during the installation process I got errors
evertime the session_start() function called ..
I had this before when I tried to work with OSCommerce.
Is there something wrong in my
You need to give us the error in order to help troubleshoot it.
-Original Message-
I'm kinda new at PHP and I was trying to install one of the mailing lists
and newsletter systems and during the installation process I got errors
evertime the session_start() function called ..
I had
the exact error messages are
==
Warning: session_start(): open(/tmp\sess_000c30790862f64268e755546b6fcbb2,
O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache
Hard to help when we don't know what the error is.
You have to call session_start() before any output to the page, even a
single space.
Try it with a simple example you create to get a feel on how it works, then
break it so it doesn't work, and you'll be in better shape to diagnose your
This one time, at band camp, Dre [EMAIL PROTECTED] wrote:
Warning: session_start(): open(/tmp\sess_000c30790862f64268e755546b6fcbb2,
O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache
Group\Apache2\htdocs\maillist\maillist\admin.php on line 1
You need to set the correct
hi all,
i'm just starting to use sessions.
i've a problem,
i started session and assigned variables to $HTTP_SESSION_VARS
i can very well see these vars in my next script, but i need to get back to first
script for some working, and strangely i dont find these vars there.
any help or
: [PHP] sessions problem
hi all,
i'm just starting to use sessions.
i've a problem,
i started session and assigned variables to $HTTP_SESSION_VARS
i can very well see these vars in my next script, but i need to get back to
first script for some working, and strangely i dont find these vars
Hi,
Heres the code (very simple stuff) but not working:
if(session_is_registered('my_email')){}
else{
do_session_crap();
}
function do_session_crap()
{
if(isset($id[0]))
{$p1=$id[0];
echo $p1;
$_SESSION['p1'] = $p1;
}
if(isset($id[1]))
{$p2=$id[1];
echo
Hey all,
Some of my users have reported a problem with my site and it's taken a
while to debug it, but I think I've finally tracked it down.
If they go to the site as:
http://www.mysite.org/
Then it works
But if they go as:
http://mysite.org/
It doesn't.
I believe it has to do with my use
Hello,
I'm new to sessions and I know a little php, but don't use it enough to
remember it. I'm trying to use sessions for a couple of reasons. I will
explain as i go along.
My index.html is this (www.loveobjects.com) -not porn my host uses version
4.0.6
html
head
script language=javascript
Kocnr Peter wrote:
I have problem with sending pages directly(by Send-Page
by E-mail...) from browser(ie6) with Outlook 2002. It
tells:The current document type can not be sent as
mail.Would you like to send a Short cut instead?. The
pages use php sessions and https with 128 bit
encryption. I
I have problem with sending pages directly(by Send-Page
by E-mail...) from browser(ie6) with Outlook 2002. It
tells:The current document type can not be sent as
mail.Would you like to send a Short cut instead?. The
pages use php sessions and https with 128 bit
encryption. I found that it is caused
Hi all,
I have a problem...
I have 3 pages in a search mechanism.
Page 1 (Search.php)
unsets all related session variables.
It then displays a form which allows the user to specify search
criteria. Submission sends us to Page 2
Page 2 (generateListSQL.php)
Sets up the basic database search
Hello people out there!
I've experienced a curly problem with Linux 2.4.16, Apache 1.3.9 PHP
4.0.6 (Slackware 8).
I use a session variable ($login) to manage the authentication to a web
administration interface: every page begins with a simple test which
checks if $login is stored in session.
Thats very interesting. I normally use Netscape 4.7 myself, I find 6 to
be a resource hog and just plain slow. I tried your site and as you
pointed out, with 4.7 the registered var does not show. Yet, when I fire
up IE all works fine. I guess what I find strange is that I am using
I have also seen this problem with one of my sites, but only *occasionally*.
I have no clue as to what the problem is. Anyone else have any ideas?
Kirk
-Original Message-
From: Luke Muszkiewicz [mailto:[EMAIL PROTECTED]]
Hey Folks:
I am using PHP sessions in IE 5.5 and NN 6
On Fri, Apr 20, 2001 at 08:58:24AM -0600, Johnson, Kirk wrote:
I have also seen this problem with one of my sites, but only *occasionally*.
I have no clue as to what the problem is. Anyone else have any ideas?
Maybe someone remembers my post about my session-problem. Pretty much the same
Maybe someone remembers my post about my session-problem.
Pretty much the same
type. session gets registered just fine, but the var's are
not being serialized()
and put into the session-file. I never really relized that
this only happens if I
work at home, which is with a netscape 4.75
I posted about this same problem over a year ago. I finally gave up and
reverted back to PHP 3 techniques of 1)generating a sessid, 2)registering
the session by storing the sessid and the variables in a mysql database and
3)passing the sessid in the url. This works like a charm.
I'd be curious if
HI
Opers has a nasty caching behaviour which can cause problems with sessions
and having different entry points on the same index page. To overcome some
of the problems any hrefs that don't contain get variables should be set
up as:
a href="index.php?entered=yes"/a
Even if you never use
On my login page (index.php) I have at the top
?
session_start();
session_destroy();
The intended function of which is to stop people from hitting the Back
button to reenter the site after having logged out (which bring people to
the page index.php).
Now, hitting BACK on Mozilla results
25 matches
Mail list logo