I'm facing the following basic problem:
I have made two simple sample files to explain it:
1st file:
".session_id();
echo 'page 1';
?>
2nd file
";
echo session_name().'+'.session_id();
echo $_SESSION['SS_user'];
?>
$_SESSION seems to be empty. Nothing is print. Session Name and
At 12:55 AM +0100 8/20/08, Ford, Mike wrote:
Content-Type: text/plain
Content-length: 1998
Been on holiday, so coming to this party a bit late, but
On Sat 16/08/2008 15:06 Stut wrote:
On 16 Aug 2008, at 14:46, tedd wrote:
> At 2:11 PM +0100 8/16/08, Stut wrote:
>> Ahh, I see the problem
Been on holiday, so coming to this party a bit late, but
On Sat 16/08/2008 15:06 Stut wrote:
> On 16 Aug 2008, at 14:46, tedd wrote:
> > At 2:11 PM +0100 8/16/08, Stut wrote:
> >> Ahh, I see the problem. You've never been able to use numbers as
> >> keys at the root level of the $_SESSION ar
tedd schrieb:
Sabine:
I understand the problem now.
But to get to my basic question to you, namely using this link:
http://www.webbytedd.com/b2/session-test1/index.php
-- does SESSION[20] and SESSION[test2] show anything in the second step
(Step 2) or are the results blank?
Oh, ok, when
Sabine:
I understand the problem now.
But to get to my basic question to you, namely using this link:
http://www.webbytedd.com/b2/session-test1/index.php
-- does SESSION[20] and SESSION[test2] show anything in the second
step (Step 2) or are the results blank?
Cheers,
tedd
--
---
htt
At 5:15 PM +0100 8/16/08, Stut wrote:
Instead I assert you would have...
$_SESSION['user_purchase'][0] = $item0;
...
$_SESSION['user_purchase'][9] = $item9;
which is perfectly valid.
I'll try to re-word my basic point... I personally consider it bad
to even want to use numeric indexes at the
Hi Tedd,
tedd schrieb:
At 2:45 PM +0200 8/16/08, Sabine Richter wrote:
Yes, our mails overlaped each other (Do you say that in english? My
english is not the best.)
Sabine:
Your English is fine -- much better than my de for certain.
Thanks :-)
By the way: I tried your initial code and I h
On 16 Aug 2008, at 17:03, tedd wrote:
I understand what you are saying -- semantics are important. But if
there is a need for temporary place to store values I don't consider
it bad form to store them in a numerically indexed array.
For example, if a user was going to purchase up to 10 items
At 3:06 PM +0100 8/16/08, Stut wrote:
Not really, since I would never name a session variable 1, or 2, or
5318008 - I would always put those in the session in a named array.
That's understandable. But, if you came from a background that
predated associate arrays, then using numeric indexes wou
I tend to prefer assigning all my session variables to an array, which
itself is a member of the $_SESSION array. For example:
$_SESSION[]
Array
(
[myarray] => Array
(
[someitem] => x
[someitem2] => y
[
On Sat, Aug 16, 2008 at 10:06 AM, Stut <[EMAIL PROTECTED]> wrote:
> I wish I understood the reason why it's like this but I've never looked into
> the session extension in that level of detail, but I doubt such a limitation
> would exist if there was not a very good reason for it. But again, I don'
On 16 Aug 2008, at 14:46, tedd wrote:
At 2:11 PM +0100 8/16/08, Stut wrote:
Ahh, I see the problem. You've never been able to use numbers as
keys at the root level of the $_SESSION array. It's not a bug, it's
just the way it is. I've just checked the documentation and can't
find an obvious
At 2:45 PM +0200 8/16/08, Sabine Richter wrote:
Yes, our mails overlaped each other (Do you say that in english? My
english is not the best.)
Sabine:
Your English is fine -- much better than my de for certain.
By the way: I tried your initial code and I had no problem with the
variable decla
At 2:11 PM +0100 8/16/08, Stut wrote:
Ahh, I see the problem. You've never been able to use numbers as
keys at the root level of the $_SESSION array. It's not a bug, it's
just the way it is. I've just checked the documentation and can't
find an obvious reference to this limitation which is kind
On 16 Aug 2008, at 13:20, tedd wrote:
At 12:40 PM +0100 8/16/08, Stut wrote:
On 16 Aug 2008, at 12:36, tedd wrote:
The problem here is can I use a variable within a $_SESSION[]
declaration?
Like so:
$_SESSION[$var]
I haven't really been following this thread but using a variable
like th
Hello Tedd,
tedd schrieb:
At 2:09 PM +0200 8/16/08, Sabine Richter wrote:
Hello Tedd,
it seems to be a naming problem. You may not use a numeric value for a
variable name to store in $_SESSION.
By assigning it to $_SESSION, you get a
Notice: Unknown: Skipping numeric key 1 in Unknown on lin
At 2:09 PM +0200 8/16/08, Sabine Richter wrote:
Hello Tedd,
it seems to be a naming problem. You may not use a numeric value for
a variable name to store in $_SESSION.
By assigning it to $_SESSION, you get a
Notice: Unknown: Skipping numeric key 1 in Unknown on line 0
and in your second scri
At 12:40 PM +0100 8/16/08, Stut wrote:
On 16 Aug 2008, at 12:36, tedd wrote:
The problem here is can I use a variable within a $_SESSION[] declaration?
Like so:
$_SESSION[$var]
I haven't really been following this thread but using a variable
like that is perfectly valid. $_SESSION is no dif
Hello Tedd,
it seems to be a naming problem. You may not use a numeric value for a
variable name to store in $_SESSION.
By assigning it to $_SESSION, you get a
Notice: Unknown: Skipping numeric key 1 in Unknown on line 0
and in your second script a
Notice: Undefined offset: 1 in yourpath\inde
session_start() doesn't have to be the first line in the code, but it
does have to occur before ANY content sent to the browser, and this
includes any headers as well. Generally speaking, it does no harm to
have it as the first line of your PHP code
Ash
www.ashleysheridan.co.uk
--- Begin Message
On 16 Aug 2008, at 12:36, tedd wrote:
At 8:02 PM -0700 8/15/08, VamVan wrote:
Tedd,
I think according to PHP manual. Session_start() must be the first
line in the code. Dont worry it will remember your session until
you close the browser and also it wont duplicate it.
VamVan:
Yes, I thou
At 8:02 PM -0700 8/15/08, VamVan wrote:
Tedd,
I think according to PHP manual. Session_start() must be the first
line in the code. Dont worry it will remember your session until you
close the browser and also it wont duplicate it.
VamVan:
Yes, I thought that as well and practiced it for yea
Tedd,
I think according to PHP manual. Session_start() must be the first line in
the code. Dont worry it will remember your session until you close the
browser and also it wont duplicate it.
Thanks
On Fri, Aug 15, 2008 at 4:39 PM, tedd <[EMAIL PROTECTED]> wrote:
> At 1:47 PM -0500 8/15/08, Boyd
At 1:47 PM -0500 8/15/08, Boyd, Todd M. wrote:
Have you tried:
echo SID;
...? I'm wondering if you're going to get different values on the two
pages. What that means beyond two different sessions is beyond me, but
it's a start.
Todd Boyd
Web Programmer
Todd:
I added code to show th
> -Original Message-
> From: tedd [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 15, 2008 12:10 PM
> To: php-general@lists.php.net
> Subject: [PHP] SESSION problem
>
> Hi gang:
>
> Arrggg -- what the heck is going on?
>
> I can't get anythi
On Aug 15, 2008, at 12:16 PM, Dan Joseph wrote:
On Fri, Aug 15, 2008 at 1:09 PM, tedd <[EMAIL PROTECTED]> wrote:
Hi gang:
Arrggg -- what the heck is going on?
I can't get anything to pass via SESSION -- what's wrong?
Here's the example -- (all the code is there):
I populate the $_SESSIONs
On Fri, Aug 15, 2008 at 1:09 PM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> Arrggg -- what the heck is going on?
>
> I can't get anything to pass via SESSION -- what's wrong?
>
> Here's the example -- (all the code is there):
>
> I populate the $_SESSIONs here.
>
> http://www.webbytedd.com/b2/
Hi gang:
Arrggg -- what the heck is going on?
I can't get anything to pass via SESSION -- what's wrong?
Here's the example -- (all the code is there):
I populate the $_SESSIONs here.
http://www.webbytedd.com/b2/session-test/index.php
If you click "Proceed to Step 2", you'll see that nothing
: Wednesday, November 21, 2007 5:51 PM
> To: php-general@lists.php.net
> Subject: RE: [PHP] Session problem
>
> > -Original Message-
> > From: Philip Thompson [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, November 21, 2007 4:43 PM
> > To: php-general@lists.php.
> -Original Message-
> From: Philip Thompson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 21, 2007 4:43 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Session problem
>
> On Nov 21, 2007 11:08 AM, Mathieu Dumoulin <[EMAIL PROTECTED]>
>
On Nov 21, 2007 11:08 AM, Mathieu Dumoulin <[EMAIL PROTECTED]>
wrote:
> I got a strange problem here, here are the setup details first as this
> seems
> to be a server problem more than a php problem but it is still related to
> php configuration:
>
> Server: Win2003 (latest)
> WebServer: IIS6 (la
I got a strange problem here, here are the setup details first as this seems
to be a server problem more than a php problem but it is still related to
php configuration:
Server: Win2003 (latest)
WebServer: IIS6 (latest)
PHP: php5.2.2.1
MySQL: mysql.5
Sites installed in server that may have infl
Dear all,
I have a problem with my PHP session on Debian Etch:
When PHP create a session file sess_XXX it create this file without
right:
~# ls -l /var/lib/php5/session/sess_* | more
-- 1 www-data www-data 0 2007-11-13 06:49
/var/lib/php5/session/sess_0001b27b2df59844e4719476b1
Dušan Novaković wrote:
Does no one have some solution or suggestion?
Dušan
On 9/29/07, Dušan Novaković <[EMAIL PROTECTED]> wrote:
Hm..
I don't know that. I have also another application on the same server,
and I haven't encountered problems of the same kind. I don't know
whether these proble
Does no one have some solution or suggestion?
Dušan
On 9/29/07, Dušan Novaković <[EMAIL PROTECTED]> wrote:
> Hm..
>
> I don't know that. I have also another application on the same server,
> and I haven't encountered problems of the same kind. I don't know
> whether these problems don't happend
Dušan Novaković wrote:
Hi,
I have two problems with sessions.
Firstly, even though session limit is set on default value on server,
which is about 5 hours, if I don't take any action for about 15 mins I
am thrown out and I have to log in again. Are there any addition
functions which I can use i
Hi,
I have two problems with sessions.
Firstly, even though session limit is set on default value on server,
which is about 5 hours, if I don't take any action for about 15 mins I
am thrown out and I have to log in again. Are there any addition
functions which I can use in order to explicitly spe
Brad Bonkoski wrote:
> How do you move from one page to the other? You have to pass the
> session along, I believe..
> Something like:
> $s = SID; // session contant
> page2.php?$s
You only need to pass the session identifier in the query string if you
aren't using cookies. By default, sessions
> -Original Message-
> From: LoneWolf [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 15, 2007 4:35 PM
> To: php-general@lists.php.net
> Subject: [PHP] Session Problem
>
> I am having a problem where it appears that the session is not being saved
> properly.
LoneWolf wrote:
I am having a problem where it appears that the session is not being saved
properly.
While on a page, I can start a session and set variables to it. however,
when I go to the next page.. the session variables appear to have been
cleared out.
first page:
session_start();
$_S
Does your system have permission to write to the temp directory?
Put on error_reporting(E_ALL) and see if it throws an error.
-Original Message-
From: LoneWolf [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 2:35 PM
To: php-general@lists.php.net
Subject: [PHP] Session
I am having a problem where it appears that the session is not being saved
properly.
While on a page, I can start a session and set variables to it. however,
when I go to the next page.. the session variables appear to have been
cleared out.
first page:
session_start();
$_SESSION["user_level"
Hi all,
I have 2 php page , whenever i click the submit in 1st page , the
$_SESSION['LIST_OF_DATA'] display nothing in the 2nd page.
If i do echo print_r($_SESSION['LIST_OF_DATA']) in first page , it
displayed the data correctly.
Anybody have any ideas why php session behaviour is like tha
Hi,
Unfortunately it is not possible (for me) to initialise the 'session.save_path'
directive in PHP 5. Up to version 4.3.5. there was no problem and the directive
was set to '/tmp'. After upgrading to 5.0.2. and later to 5.1.2. I did not
succeed in initialising the directive.
/usr/local/lib/
Sabine wrote:
Hello to all,
I'm working on a server where even a simple counter-script won't work.
session_start();
if (isset($HTTP_SESSION_VARS['counter'])) {
$HTTP_SESSION_VARS['counter']++;
} else {
$HTTP_SESSION_VARS['counter']=1;
}
On every refresh the counter is set to 1.
I take
Hello to all,
I'm working on a server where even a simple counter-script won't work.
session_start();
if (isset($HTTP_SESSION_VARS['counter'])) {
$HTTP_SESSION_VARS['counter']++;
} else {
$HTTP_SESSION_VARS['counter']=1;
}
On every refresh the counter is set to 1.
I dont' know, where to
Hi
> -Original Message-
> From: Rosen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 31, 2005 11:31 AM
> To: php-general@lists.php.net
> Subject: [PHP] Session problem
>
> Hi,
> I have this code :
>
>
> page1.php:
>
&
Hi,
I have this code :
page1.php:
===
page2.php:
This script works on several linux servers, but on one doesn't work (
variable $uss in page2.php has no value ).
I think this may be problem with PHP configuration on this server ( I don't
have root password for this server )
Make sure you are doing a session_start first.
On Tue, 5 Oct 2004 19:00:57 +0530, Kevin Javia <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I have got PHP 5 installed on IIS6 with 'register_globals = on'.
>
> When run my page with session variable at top of the page
>
> $_SESSION['_user'] == ""
Kevin Javia wrote:
Hi there,
I have got PHP 5 installed on IIS6 with 'register_globals = on'.
consider switching it off. your application will be impossible to
install on any other server if you keep working on it with register
global s on.
When run my page with session variable at top of the
Hi there,
I have got PHP 5 installed on IIS6 with 'register_globals = on'.
When run my page with session variable at top of the page
I got notice like "Notice: Undefined index: _user in E:\Projects\."
What can be the reason and what is the solution? _user variable is not
registered be
On Friday 13 August 2004 01:14 pm, Torsten Roehr wrote:
> James, have you tried with manually calling session_start() and setting
> auto_start = 0? If not, please try this.
>
> Haven't followed your previous thread so please forgive me if I'm asking
> something you already wrote. Are you using cook
Hi Andre, hi James,
please see below
"Andre Dubuc" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Friday 13 August 2004 11:19 am, you wrote:
> > On Friday 13 August 2004 11:14 am, Andre Dubuc wrote:
> > > Hi James,
> [snip]
>
> .for thatt matter, have you 'saved' it using sess
On Friday 13 August 2004 11:19 am, you wrote:
> On Friday 13 August 2004 11:14 am, Andre Dubuc wrote:
> > Hi James,
[snip]
.for thatt matter, have you 'saved' it using session_write_close();
>
> From the Manual:
> Session data is usually stored after your script terminated without the
> need to
On Friday 13 August 2004 11:14 am, Andre Dubuc wrote:
> Hi James,
>
> Well for what it's worth:
>
> Your code in Test1 sets the paraemters -
> if(!$_SESSION['start_time']){
> echo("\n Session Reset");
> $_SESSION['start_time'] = time();
>
> yet when Test2 loads, you haven't called $_SES
Hi James,
Well for what it's worth:
Your code in Test1 sets the paraemters -
if(!$_SESSION['start_time']){
echo("\n Session Reset");
$_SESSION['start_time'] = time();
yet when Test2 loads, you haven't called $_SESSION[''start_time'} nor, for
that matter, have you 'saved' it usin
OK, so it wasn't the nut behind the wheel after all. I am still having
problems with sessions after upgrading to PHP 4.3.8. The test code below
works as expected on server equipped with PHP 4.3.6 and keeps the session
start time the same no matter what link you click on. However with version
4.
I have a problem with sessions. If someone closes their internet explorer
window without logging off the session remains open. When you try to go
back to the site IE hangs until I manually remove the sess_ files from
the /tmp directory. Any insights on this one??
VR/Tim
Hello Carlos,
Wednesday, March 24, 2004, 2:52:16 PM, you wrote:
cc> I want to know how can i do to make the session dont expire?. i have an
cc> application that works with sessions, when i left the browser open for a
cc> while, i dont know maybe 30 minutes, when i try to go into a section it
cc>
I want to know how can i do to make the session dont expire?. i have an
application that works with sessions, when i left the browser open for a
while, i dont know maybe 30 minutes, when i try to go into a section it
throw me an error, for session expire, how can i fic that?.
thanks.
Carlos A. C
On Wed, 17 Mar 2004 12:37:55 +1000
Tom Rogers <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Wednesday, March 17, 2004, 12:24:27 PM, you wrote:
> NR> Thanks, it is set right, but I see some other things are not.
> NR> these other bits are set in a .htaccess file in the root of this
> NR> applications htdo
Hi,
Wednesday, March 17, 2004, 12:24:27 PM, you wrote:
NR> Thanks, it is set right, but I see some other things are not.
NR> these other bits are set in a .htaccess file in the root of this
NR> applications htdocs tree. When I execute a test.php file in the same
NR> directory as the .htaccess file
On Wed, 17 Mar 2004 11:03:12 +1000
Tom Rogers <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Wednesday, March 17, 2004, 9:43:51 AM, you wrote:
> NR> I am running Apache/2.0.48 (Gentoo/Linux) mod_ssl/2.0.48 OpenSSL/0.9.6k PHP/4.3.4
>
> NR> I have a drupal site set up, http://rout.dyndns.org/cagc
>
> NR>
Hi,
Wednesday, March 17, 2004, 9:43:51 AM, you wrote:
NR> I am running Apache/2.0.48 (Gentoo/Linux) mod_ssl/2.0.48 OpenSSL/0.9.6k PHP/4.3.4
NR> I have a drupal site set up, http://rout.dyndns.org/cagc
NR> Since some time on Sunday i have had the following error appear at the
NR> bottom of the pa
I am running Apache/2.0.48 (Gentoo/Linux) mod_ssl/2.0.48 OpenSSL/0.9.6k PHP/4.3.4
I have a drupal site set up, http://rout.dyndns.org/cagc
Since some time on Sunday i have had the following error appear at the
bottom of the page:
Warning: Unknown(): A session is active. You cannot change the ses
On 04 February 2004 12:59, marc serra contributed these pearls of wisdom:
> Hi,
>
>
>
> I'm working on a multi-langage website and i got problem with
> a fonction
> which destroy my session :-(
>
>
>
> I got a file which change my langage like this :
>
>
>
> /*
On Wednesday 04 February 2004 20:59, marc serra wrote:
> When the header function is called I'm correctly redirected on the right
> page but all my session variables are destroyed.
Try session_write_close() before you redirect.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Sourc
Hi,
I'm working on a multi-langage website and i got problem with a fonction
which destroy my session :-(
I got a file which change my langage like this :
//
session_start();
if ($_POST['langue']=="us")
$_SESSION['language']="us";
els
On Tuesday 28 October 2003 08:33, Manisha Sathe wrote:
> ok, i am putting it the code in both files, now my first.php is as follows
[code snipped]
The code looks OK. Things you can do to try track down the problem:
1) As always, turn on FULL error reporting and check the logs
2) Verify that your
ok, i am putting it the code in both files, now my first.php is as follows
//start the session - in all the pages
session_start();
var_dump(ini_get('variables_order'));
var_dump(isset($_SESSION));
var_dump($_SESSION);
//store it like that
$_SESSION["name"]= "Rinku";
-
Hi,
session_start has to be the first command this time. try again and the result will
look better, maybe explaining.
so it should look like:
angel
On Sun, 26 Oct 2003 17:47:38 +0800
"Manisha Sathe" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> do u mean to say put this codes in php ?
> I tried to
Hi,
do u mean to say put this codes in php ?
I tried to put it in second.php following is the msg -
--
string(5) "EGPCS" bool(false)
Notice: Undefined variable: _SESSION in C:\Project
Codes\Vanderveer\www\testPHP\second.php on line 4
NULL
Warning
It works well on linux means it shows me o/p as 'Manisha' but on local
Win2kserver, it gives error.
I tried to make use of error_reporting(0); in second.php but then screen
becomes blank, it does not show me the output as "Manisha"
manisha
"Evan Nemerson" <[EMAIL PROTECTED]> wrote in message
n
Your Linux server probably has error_reporting set to 0, which is usually a
good idea for production environments. To supress the error messages without
modifying your php.ini, do error_reporting(0). Take a look in your php.ini
file- the error_reporting directive will have lots of comments aroun
var_dump(ini_get('variables_order'));
var_dump(isset($_SESSION));
var_dump($_SESSION);
?
On Sunday 26 October 2003 01:43 am, Manisha Sathe wrote:
> It works well on linux means it shows me o/p as 'Manisha' but on local
> Win2kserver, it gives error.
>
> I tried to make use of error_reporting(0);
I am trying to use session but it seems it does not work on win2k server,
the same runs on linux.
following is my first php
---
--
following is the second php
-
but it is always giving me following error msg
Notice: Undefined index: name in
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]):
> now my problem: i wrote in my navigation-frame this code:
> if( !isset($_SESSION['testint'] ) )
>{
>$_SESSION['testint'] = 1;
>}
> $_SESSION['testint']++;
> print_r($_SESSION);
> ?>
>
> after the print_r() i can see my
hi
got a big session-problem and i have no idea what i'm doing wrong...
i have quite a big web-app and i tried to upgrade the code.
ex: $frm_id to$_POST['frm_id']
and$HTTP_SESSION_VAR['myId'] to $_SESSION['myId']
... ect...
i changed the register_globals = Off in the php.ini
sage -
From: "Paul Fitzpatrick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 26, 2003 10:43 PM
Subject: RE: [PHP] Session problem in back button
>
> Hi,
>
> This will stop them seeing the login once they are in a registered
> session
&g
goes here
}
Cheers.
-Original Message-
From: murugesan [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 9:55 AM
To: murugesan; Cody Phanekham; [EMAIL PROTECTED]
Subject: [PHP] Session problem in back button
Hello all,
Now i have a problem in back button.
After signing in when
Hello all,
Now i have a problem in back button.
After signing in when I click back button It goes to login page. But
when I click the forward button it is going to the main page.
How can I prevent this.
-murugesan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Dear Sir,
I've been using PHP for business and personal use for a while now, and I
have to admit, I'm not just a user anymore and I am a fan. but it's been a
while I came across a problem : I use session variables a lot for security
purposes but I notice that PHP doesn't hold the session variables
From: <[EMAIL PROTECTED]>
> Dear Sir,
You don't have to call me that unless you're in the military, also. :)
> I've been using PHP for business and personal use for a while now, and I
> have to admit, I'm not just a user anymore and I am a fan. but it's been a
> while I came across a problem : I
The root of your problem is that sessions generally do not traverse
multiple domains. A possible solution is to embed an image in each of
the servers which references a PHP script in the other server, and while
doing so passes the sessionID along.
On server abc.foo.org you might have the following
I am running PHP 4.3.0 on a WinXPpro machine and I recently got problem with
sessions.
What I am building is a loginsystem and I need to save some parameters in
session variables. This works fine on my Win2k pro machine but when I moved
it to winXP it creates two different sessions when I set the
I have installed an user-login aplication on my website (
http://www.norbertnet.ro ) but i have problems with session controls.
I receive all kinds of warnings and i don't know how to interpret them, for instance
when i want to register a session it is not very good registered
thanks advanced
I have installed an user-login aplication on my website (
http://www.norbertnet.ro ) but i have problems with session controls.
I receive all kinds of warnings and i don't know how to interpret them, for instance
when i want to register a session it is not very good registered
thanks advanced
You have to specify which warnings and errors if you want someone to
help
-Original Message-
From: tana dsasa [mailto:[EMAIL PROTECTED]
Sent: 23. júlí 2003 09:58
To: [EMAIL PROTECTED]
Subject: [PHP] Session problem
I have installed an user-login aplication on my website (
http
I have installed an user-login aplication on my website ( http://www.norbertnet.ro )
but i have problems with session controls.
I receive all kinds of warnings and i don't know how to interpret them
thanks advanced
-
Want to chat instantly with your online frien
- Original Message -
From: "Sourabh G" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 13, 2003 11:15 AM
Subject: [PHP] Session Problem
> Hi,
>
> I am getting a weird session problem in my site.
>
> Background of the Problem:
>
Hi,
I am getting a weird session problem in my site.
Background of the Problem:
--
My site use sessions for user authentication. Site has a Admin Panel where
admin can search users and then through a link
(which has login and password appended) login as user.
On login as
Okay,
I'm starting session with
session_name("PRATTCMS_ADMIN");
session_save_path($sess_path);
session_start();
This works on one server I have, compiled the almost exact same (except
without png and jpeg support for gd). They both use trans_sid. What's
going on here? In the session path, the s
At some places, I was using $_SESSION['u_uname'] as variable name, at other
$_SESSION['uname']. Changing to $_SESSION['uname'] through all my
accesscontrol.php solved the problem. Now it works on my ISP's server.
Question is, though: Why does the faulty script work on my localhost? Next
step is
Hi,
> I have a problem with php sessions. The following code works on my home PC
> but doesn't work on my office PC. What can be the problem?
Its possible you have cookies turned off on your office PC.
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hello,
I have a problem with php sessions. The following code works on my home PC
but doesn't work on my office PC. What can be the problem?
Thanks!
I have 2 files:
file1.php:
session_stert();
$_SESSION['demo']="test";
and file2.php
session_start();
echo $_SESSION['demo'];
I use PHP 4.3.2.
silly me,
testing the query (echo $query;) was actually causing the problem!
"Pete James" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You need to start the session at the beginning of the script, or use
> output buffering.
>
> Either:
> session_start();
> require("...
> ...
>
You need to start the session at the beginning of the script, or use
output buffering.
Either:
or
You're trying to output stuff to the screen (which implicitly sends the
headers) then trying to send more headers by calling session_register()
(which implicitly calls session_start() )
HTH.
Pe
Hi,
I get the following error when using using the following script to
authenticate a user. The login form is inside a frameset, is this whats
causing th eproblem, and is there a way round this?
Warning: Cannot send session cookie - headers already sent by (output
started at /home/w/o/workmanagem
>- Original Message -
>From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: [PHP] Session Problem
> Can some one pl explain what this means ...
> Warning: Cannot send session cache limiter - headers already s
In a message dated 1/15/2003 4:18:10 PM Pacific Standard Time,
[EMAIL PROTECTED] writes:
>I am trying to make use of sessions to auhenticate users on the secure
>parts of the website. Things seems to work fine...but I keep getting
>this warning. Can some one pl explain what this means ...
>Wa
1 - 100 of 202 matches
Mail list logo