On Jan 6, 6:17 pm, blake <[email protected]> wrote:
> Just noticed your post after replying to my own from a couple weeks
> back. I'm having the same rewrite issues, but from the little bit of
> testing I did, it worked fine without pretty URL's. I believe I hit
> one or two of my pages using javascript links and they worked, but I'm
> not positive on that.
Javascript is tricky about this as well. But if you're changing the
header location it could well be an IIS issue. header("Location:..
only works when there is absolutely nothing before it. And needs an
exit(); afterwards to make sure nothing gets executed afterwards. See:
http://php.net/header
not completely ontopic:
Helped a dev in .aspx and he made a javascript redirect and it worked
in his IE7 but it didn't work in my FF3.
I had the full html-code but the javascript didn't fire the redirect.
He got it fixed but he refused to tell me what he did wrong.
Funny thing is if you forget to close the head-tag FF3 shows the full
page and IE7 doesn't. First time I've seen that FF was more relaxed
than IE.
Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---