Re: Browser Problem? Coding Problem? Session Problem?
| From: | Mike | Date: | Fri, 11 Apr 2003 15:41:04 +0000 |
| Subject: | Re: Browser Problem? Coding Problem? Session Problem? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143523@lists.php.net to get a copy of this message | ||
I fill in and submit the form, and nothing gets sent in $_POST
variables. I don't know why...
-Michael
On Thu, 2003-04-10 at 23:23, Jason Wong wrote:
> On Friday 11 April 2003 13:45, Mike wrote:
>
> > I've tried this on Mozilla 1.3, 1.4a and IE 6. It works on IE 6, but not
> > mozilla. (Or at least it doesn't seem to.) I've tried clearing my
> > caches, cookies, everything (even unsetting all session variables).
>
> [snip]
>
> > if ($query) {
> > $_SESSION['logged_in'] = true;
> > $_SESSION['username'] = $db_check['username'];
> > header("location: index.php");
> > } else {
> > header("location: index.php?wrong=true");
> > }
> > }
> >
> > On Mozilla I just keep getting the login page, again and again. It works
> > first time on IE...
>
> Do you mean:
>
> a) you go to the login page, fill in and submit the form, then the login page
> displays again
>
> OR
>
> b) you go to the login page, then it 'refreshes' and redisplays the login page
> etc.
>
> And for debugging I would comment out the header() lines and replace with an
> echo "Redirecting to <wherever>".
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> If one cannot enjoy reading a book over and over again, there is no use
> in reading it at all.
> -- Oscar Wilde
> */