[PHP] $_SESSION variable gets lost on FORM action

2007-01-16 Thread Nuno Oliveira
Hi, I'm working on a website and one of the features that I've implemented so far is the user timeout. Every time that a user browses to a different page, the variable named $_SESSION['user']['lastactive'] is updated to the current time. However, before that, my PHP scripts check if the

Re: [PHP] $_SESSION variable gets lost on FORM action

2007-01-16 Thread Nuno Oliveira
David Giragosian wrote: On 1/16/07, Nuno Oliveira [EMAIL PROTECTED] wrote: Hi, I'm working on a website and one of the features that I've implemented so far is the user timeout. Every time that a user browses to a different page, the variable named $_SESSION['user']['lastactive'] is updated

Re: [PHP] $_SESSION variable gets lost on FORM action

2007-01-17 Thread Nuno Oliveira
Stut wrote: Redirecting using a Location header is not the only thing you can do with the header() function. It will never end processing of the script no matter what you pass to it. The example on the manual page for the header() function says as much (http://php.net/header), you read that

Re: [PHP] email validation string.

2007-01-19 Thread Nuno Oliveira
1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. If I add the second (original) backslash it won't validate emails anymore. Also, from my little knowledge of Red.Exp. the

Re: [PHP] email validation string.

2007-01-19 Thread Nuno Oliveira
1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. JavaScript is *not* PHP. As far as I can read, I never talked about JavaScript... Maybe the fact that I talked about a

Re: [PHP] email validation string.

2007-01-19 Thread Nuno Oliveira
Where can I check out the plugin? Maybe I shouldn't have mentioned plugin and firefox... It's not a plugin for firefox like other firefox's plugins... In fact, when I downloaded somewhere arround the web the name of the thing (won't call it plugin again) was Site Programmer Plugin Assistant