This is slightly off topic so firstly I apologies for that.
I am developing a web application in Apache::ASP with Apache2 on linux.

Everything was going fine, until this morning.
I go to use the application, and my session had timed out, so the code tried to redirect me to a login page.

All my pages use a header.inc which includes a menu for example.
The problem is, if I point my browser at <url>/login.asp (or any other page for that matter), it goes into an endless redirect loop :(
Mozilla says "Redirect Limit Exceeded" and IE just fails to load the page.

Now I have obviously introduced a bug somewhere, but does anyone have any suggestions as to how I can go about debugging it ?

Try setting PerlSetVar Debug -1, which will tell you more of what is
going on at the system level in the error_log, and then you can add
a hook like $Response->Debug(...) into your global.asa Script_OnStart
for further debugging information.
Thanks for the feedback.
I have solved it now. I had a test like if ($whatever == $test) but somehow I deleted 1 = so it became an assignment, leading to an infinite loop :(

All sorted now
Thanks again
Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to