Search found 5 matches

by cgchris99
Thu Jun 02, 2005 10:04 pm
Forum: PHP - Code
Topic: Strange Sessions Issue
Replies: 12
Views: 517

I found on another site that the following code that is supposed to work. (from file insert.php) session_write_close(); header( "location: /thankyou.php"); exit; The thankyou.php page has no code in it other than displaying the Clubname. The redirect may work a couple of times and then doe...
by cgchris99
Thu Jun 02, 2005 9:18 pm
Forum: PHP - Code
Topic: Strange Sessions Issue
Replies: 12
Views: 517

I now know it is an issue of a redirect causing the session variables to loose value.

I have found some code that is supposed to fix it but so far none of it makes any difference.
by cgchris99
Thu Jun 02, 2005 8:43 pm
Forum: PHP - Code
Topic: Strange Sessions Issue
Replies: 12
Views: 517

Just checked mine. Already set at no value. My problem is I'm loosing the session value very quickly. I test by inserting records to a database after I log in. I get about 4 done before it shows that I am logged off and have to log back in. It's a pain. The more I dig into this the stranger it is. I...
by cgchris99
Thu Jun 02, 2005 8:10 pm
Forum: PHP - Code
Topic: Strange Sessions Issue
Replies: 12
Views: 517

Did you ever figure out what was happening. I have something similar happening to me.
by cgchris99
Thu Jun 02, 2005 7:39 pm
Forum: PHP - Code
Topic: session variables expire or lose value???
Replies: 1
Views: 157

session variables expire or lose value???

I have a simple website that lists events for Clubs. There is a small group of php files login.php menu.php insert.php edit.php delete.php thankyou.php After multiple insert.php (inserts records) the session variable will lose its value and I have to re-login. Each of the above files have session_st...