Re: [PHP] session variable problem

2011-03-28 Thread Negin Nickparsa
call session_destroy(); then start the session again

Re: [PHP] session variable problem

2011-03-28 Thread markb
On 3/25/2011 3:55 PM, Peter Lind wrote: More info (including some code) would be needed to get to the bottom of this, I'd say. Hard to diagnose what's happening otherwise. Regards Peter So I guess there is no list of things to check for sessions? I'll try to pair down the code to something

Re: [PHP] session variable problem

2011-03-25 Thread Peter Lind
More info (including some code) would be needed to get to the bottom of this, I'd say. Hard to diagnose what's happening otherwise. Regards Peter -- WWW: plphp.dk / plind.dk LinkedIn: plind BeWelcome/Couchsurfing: Fake51 Twitter: kafe15 -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] session variable problem

2011-03-25 Thread markb
On 3/25/2011 12:13 PM, Ken Robinson wrote: At 01:09 PM 3/25/2011, markb wrote: Very rusty with PHP. We moved our web site to a new hosting service (godaddy). PHP changed from 4x to 5.2.17. I can no longer change $_SESSION variables after the first use. First call to form - start session create v

Re: [PHP] session variable problem

2011-03-25 Thread markb
On 3/25/2011 12:13 PM, Ken Robinson wrote: At 01:09 PM 3/25/2011, markb wrote: Very rusty with PHP. We moved our web site to a new hosting service (godaddy). PHP changed from 4x to 5.2.17. I can no longer change $_SESSION variables after the first use. First call to form - start session create v

Re: [PHP] session variable problem

2011-03-25 Thread Ken Robinson
At 01:09 PM 3/25/2011, markb wrote: Very rusty with PHP. We moved our web site to a new hosting service (godaddy). PHP changed from 4x to 5.2.17. I can no longer change $_SESSION variables after the first use. First call to form - start session create variables Second call - can read variables

[PHP] session variable problem

2011-03-25 Thread markb
Very rusty with PHP. We moved our web site to a new hosting service (godaddy). PHP changed from 4x to 5.2.17. I can no longer change $_SESSION variables after the first use. First call to form - start session create variables Second call - can read variables, change existing ones (but they do n

Re: [PHP] Session Variable Problem

2010-03-22 Thread Gary
tedd Please accept my apologies for not thanking you sooner, I am going over you code and learning great stuff. Again, thank you. And thank you to Adam as well. gary "tedd" wrote in message news:p06240804c7cbe9aa1...@[192.168.1.102]... > At 10:14 AM -0400 3/21/10, Gary wrote: >>Thanks agai

Re: [PHP] Session Variable Problem

2010-03-21 Thread tedd
At 10:14 AM -0400 3/21/10, Gary wrote: Thanks again for all the help, however the plot thickens. Gary : It doesn't have to thicken. Here's an example of using $_SESSION that works and you can have as many fields as you want: http://www.webbytedd.com/aa/step-form-sessions/index.php All the

Re: [PHP] Session Variable Problem

2010-03-21 Thread Gary
Thanks again for all the help, however the plot thickens. I have put: On the first page, Now what happens is it only sticks to the first two (lend_fname and lend_lname), the others still get lost. Any idea how or why the exact code works differently? Thanks Again. gary "tedd" wrote in

Re: [PHP] Session Variable Problem

2010-03-21 Thread tedd
At 2:22 PM -0400 3/20/10, Gary wrote: I have this perplexing issue of session varibles getting dropped. It is a 4 page form, the last page being a review page incase the submitter wants to change any of the information.If you go through the form, all of the information carries forward, and from

Re: [PHP] Session Variable Problem

2010-03-20 Thread Adam Richardson
On Sat, Mar 20, 2010 at 6:56 PM, Gary wrote: > Adam > > Thank you for your reply. > > ""Are you checking to see if the post variable is set in the code that > handles saving the form values to session variables? "" > > No, I not done anything about the post variable, frankly I thought the > sessi

Re: [PHP] Session Variable Problem

2010-03-20 Thread Gary
Adam Thank you for your reply. ""Are you checking to see if the post variable is set in the code that handles saving the form values to session variables? "" No, I not done anything about the post variable, frankly I thought the session variable would cover it. I tried your code if (isset($_

Re: [PHP] Session Variable Problem

2010-03-20 Thread Adam Richardson
On Sat, Mar 20, 2010 at 2:22 PM, Gary wrote: > I have this perplexing issue of session varibles getting dropped. It is a > 4 > page form, the last page being a review page incase the submitter wants to > change any of the information.If you go through the form, all of the > information carries f

[PHP] Session Variable Problem

2010-03-20 Thread Gary
I have this perplexing issue of session varibles getting dropped. It is a 4 page form, the last page being a review page incase the submitter wants to change any of the information.If you go through the form, all of the information carries forward, and from the review page if you go back to ed

Re: [PHP] Session variable problem

2002-08-13 Thread Christian Ista
> Add a missing space. > ok thanks :) How use this variable in a query (mysql_query) ? Is it possible if a session variable is already defined ? Bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session variable problem

2002-08-13 Thread Mika Tuupola
On Tue, 13 Aug 2002, Christian Ista wrote: > Add a missing space. -- Mika Tuupola http://www.appelsiini.net/~tuupola/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session variable problem

2002-08-13 Thread Christian Ista
Hello, I'd like to use session variable. I do that (see below) but I receive an error. Other question, how can I do to know if a session variable is already defined ? But I receive this error : Parse error: parse error, unexpected T_VARIABLE in d:\inetpub\wwwroot\test\index.php on l

Re: [PHP] session variable problem

2001-04-16 Thread Mesut TUNGA
Merhabalar, firstly do you use windows or linux? id you use windows you shoul give the session_save_path to the script. ( session_save_path("c:\\user\\tmp"); ) if you use linux and no changes in your .ini files, your sessions store in /tmp directory... Kolay Gele... Mesut... SERK

Re: [PHP] session variable problem

2001-04-16 Thread Tobias Talltorp
The reason for the fatal error is that you can only store the sessions in three (or four) ways, files, in a database or in the memory. What variable has no value? Have you started the session before you try to access the values? session_start(); echo $your_value; (Or preferably) echo $HTTP_SESSIO

[PHP] session variable problem

2001-04-16 Thread SERKAN BALKANLI (EBİ Bşk.-Analist Prog.)
i am starting and registering session variable succesfully that i can see the file on the server , but when it comes to use or display i can not , the variable has no value ... the "session.save_handler = files" is in php.ini , i tried to change it to user but that occured a fatal error e