Re: [nyphp-talk] lost sessions on redirect

2009-02-09 Thread Daniel Convissor
Hi Christina: Before I get into specific code feedback, you REALLY need to get some coding standards in place. Your nesting is a total mess. Read and follow http://pear.php.net/manual/en/standards.php. On Mon, Feb 09, 2009 at 10:08:30PM -0500, Christina Karlhoff wrote: > > s

Re: [nyphp-talk] lost sessions on redirect

2009-02-09 Thread Christina Karlhoff
Hi Michael, on the processing page after the form array is verified and email address is validated, the code goes like this: if ($_POST) { // save post into a cookie to retrieve later - careful with captcha fields, do not restore those in interface setcookie("f

Re: [nyphp-talk] lost sessions on redirect

2009-02-09 Thread David Krings
Michael Southwell wrote: Christina Karlhoff wrote: About a year ago NYPHP created a captcha form for our website. The html has undergone quite a few changes. Unfortunately in that process we've lost some function...when a user submits the form, forgetting a required field, the session is los

Re: [nyphp-talk] lost sessions on redirect

2009-02-09 Thread Christina Karlhoff
Hi Chris, used livehttpheader and captured the following http headers: http://www.wll.com/quote.php POST /quote.php HTTP/1.1 Host: www.wll.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/200

Re: [nyphp-talk] lost sessions on redirect

2009-02-09 Thread Chris Shiflett
On Feb 9, 2009, at 20:02, Michael Southwell wrote: Christina Karlhoff wrote: About a year ago NYPHP created a captcha form for our website. The html has undergone quite a few changes. Unfortunately in that process we've lost some function...when a user submits the form, forgetting a requ

Re: [nyphp-talk] lost sessions on redirect

2009-02-09 Thread Daniel Convissor
Hi Chris: On Mon, Feb 09, 2009 at 07:32:46PM -0500, Christina Karlhoff wrote: > when a user submits the form, forgetting a required > field, the session is lost; on the redirect the data that was input by > the user is gone. You are talking about two potential situations. 1) The session isn't be

Re: [nyphp-talk] lost sessions on redirect

2009-02-09 Thread Michael Southwell
Christina Karlhoff wrote: About a year ago NYPHP created a captcha form for our website. The html has undergone quite a few changes. Unfortunately in that process we've lost some function...when a user submits the form, forgetting a required field, the session is lost; on the redirect the dat

[nyphp-talk] lost sessions on redirect

2009-02-09 Thread Christina Karlhoff
About a year ago NYPHP created a captcha form for our website. The html has undergone quite a few changes. Unfortunately in that process we've lost some function...when a user submits the form, forgetting a required field, the session is lost; on the redirect the data that was input by the user i