in reply to Re: cgi page not showing
in thread cgi page not showing
What *should* happen is the when a new GWAK::User is created it authenticates using cookies, then fills a hash with user data and returns the reference. If it fails (bad auth, cannot access database..) it should call GWAK::User->redirect_to_login which is a class method which should just print a page which redirects to the login page.
The thing is, the call to new GWAK::User doesn't fail (it works if I remove the GWAK::User->redirect_to_login) but all that is sent to the browser is the HTTP headers. No error messages anywhere. It's like having the GWAK::User->redirect_to_login creates a black hole that the script does not come out of.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: cgi page not showing
by little (Curate) on Jul 01, 2002 at 09:14 UTC | |
by amphiplex (Monk) on Jul 01, 2002 at 09:25 UTC | |
by little (Curate) on Jul 01, 2002 at 09:28 UTC |