Dont use sessions, they are a little flaky anyway. Use a mixture of holding
data in database and passing sid/userid/hash around on the URL. You wont regret
it.
I have written here several times on this subject and in the end those who
have gratiously helped me have ended up just telling me
I had the exact same problem.. don't know if you had this advice yet or not
but what I did is when I started a session I would grab the session id for
that session and put it in a variable and then just pass that session id
everywhere I went.. turn on the trans_id or add the session id to the end
On Monday 24 September 2001 18:20, Thomas Deliduka wrote:
On 9/24/2001 12:22 PM this was written:
Try to use constant SID, maybe that will work, and it is more
likely that it will work on other intallations with other session
variable names.
I just tried using SID in my index.php and
Perhaps you could post the [Session] section of your php.ini file. It
appears that session.cookie_lifetime is not set to 0, which is what you want
for a session cookie. Perhaps we can find another setting that needs a
change.
Kirk
Sessions just don't work on my machine...
--
PHP General
On 9/24/2001 12:28 PM this was written:
Perhaps you could post the [Session] section of your php.ini file. It
appears that session.cookie_lifetime is not set to 0, which is what you want
for a session cookie. Perhaps we can find another setting that needs a
change.
My php.ini:
[Session]
After reloading IE on the PC now the SID constant doesn't
echo anything at
all.
SID is always defined on the first page request. It is only defined on later
page requests if cookies are disabled in the browser.
Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On 9/24/2001 12:32 PM this was written:
After reloading IE on the PC now the SID constant doesn't
echo anything at
all.
SID is always defined on the first page request. It is only defined on later
page requests if cookies are disabled in the browser.
So, I shouldn't use that if I'm
On 9/24/2001 12:39 PM this was written:
Try these changes:
session.cookie_lifetime = 0
session.use_trans_sid = 1
Also, what version of PHP are you using?
PHP: 4.0.6
In the past I had problems with trans_sid with urls that already had
querystrings being passed. They would mess up
On 9/24/2001 12:39 PM this was written:
Try these changes:
session.cookie_lifetime = 0
session.use_trans_sid = 1
I see no changes to my problems.
--
Thomas Deliduka
IT Manager
-
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/
I'm finding my script on www.fromtheduke.com/session/ still doesn't work
even with the ?=SID? in the link or passing it along in the form.
On 9/24/2001 12:49 PM this was written:
On Monday 24 September 2001 18:39, Thomas Deliduka wrote:
On 9/24/2001 12:32 PM this was written:
After reloading
On 9/24/2001 1:05 PM this was written:
On Monday 24 September 2001 18:51, Thomas Deliduka wrote:
I'm finding my script on www.fromtheduke.com/session/ still doesn't
work even with the ?=SID? in the link or passing it along in the
form.
Please send us your latest code again, then we can help
On 9/24/2001 1:15 PM this was written:
OK, now the session ID is getting passed like it should. Now for the two
missing variables. Try moving the two assignment statements ahead of the two
session_register() calls - assign, then register. I have never seen this
make a difference, but the
On 9/24/2001 1:18 PM this was written:
OK, now the session ID is getting passed like it should. Now for the two
missing variables. Try moving the two assignment statements ahead of the two
session_register() calls - assign, then register. I have never seen this
make a difference, but the
Thank you everyone for your continued help with this. It's still not fixed
but I have to leave to a dr. appt. I hope that most--If not all--of you are
on when I get back.
I just wanted to alert you as to why I wouldn't be responding to your
questions/messages.
Here is the last information I
Yeah, I think it's my server setup, or something I have going on on my
server because others have said that it works fine for them but not on my
machine.
I'm running red hat linux 6.1 apache+mod_ssl 1.3.20
On 9/24/2001 2:08 PM this was written:
Then I will reload the first page again by
I just tried this here below. Before trying this I changed any called to
$PHPSESSID to session_id().
I turned off cookies
Loaded the page... Created session id and file:
sess_44074d3a54862b480c3407c9eb373f77
Contents: var1|s:8:My var 1;var2|s:8:My var 2;
I submitted the form:
PHPsessionid shows
16 matches
Mail list logo