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
call session_destroy(); then start the session again
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
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
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
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
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
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List
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 tedd.sperl...@gmail.com wrote in message
news:p06240804c7cbe9aa1...@[192.168.1.102]...
At 10:14 AM -0400 3/21/10, Gary
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
Thanks again for all the help, however the plot thickens.
I have put:
?php if(!isset($_SESSION)) {
session_start();
}
if (isset($_POST['lend_fname'])){
$_SESSION['lend_fname']=stripslashes($_POST['lend_fname']);
}
if (isset($_POST['lend_lname'])){
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
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
On Sat, Mar 20, 2010 at 2:22 PM, Gary gwp...@ptd.net 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
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
On Sat, Mar 20, 2010 at 6:56 PM, Gary gwp...@ptd.net 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
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 ?
?php session_start()?
?php$_SESSION[LG] = 'EN';?
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
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
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
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
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...
?php
session_start();
$id = 123;
20 matches
Mail list logo