in reply to [OT] 302 redirect after login result cookie lost?
Instead of using an HTTP redirect, you can use an HTML meta refresh. Sure, there was a time when not all browsers supported it, but that was 10 years ago.