Form data not available at first. Why?
| From: | Dave Pidgeon | Date: | Sat, 17 Apr 2004 19:40:16 +0000 |
| Subject: | Form data not available at first. Why? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183743@lists.php.net to get a copy of this message | ||
Since the server upgrade to PHP 4.3.4 I have a odd problem with FORM data
capture.
When Page one and two are started in the open http:// ,the pair work
just fine.
If they are started with ssl https:// then page two has no data until you
refresh and ok the resending of the data, At which point all the data is
in place.
I am New to this session work so I could really use some help. Please and
Thank you.
Dave
// Page one
<?PHP
session_name("SESSE");
session_start();
<FORM method="POST" action="..xxx.php?<?=SID?>">
// Page two
<?php
session_name("SESSE");
session_start();
$pres= session_id();
print $pres;
session_id($pres);
echo "<br>";
foreach ($_POST as $key => $val){
echo "key: $key ... Value: $val<br>";
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file /dev/urandom /dev/urandom
session.entropy_length 16 16
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
sockets
Sockets Support enabled