Javascript redirect with headers or session id
问题 I have two web pages that I am trying to send information between. One is the login page that takes in the users information and calls a web-service to determine if the user is authenticated. Upon ensuring authentication I want to redirect to my other web page with some way of telling that the user has logged in and is authenticated. I know that javascript has window.location = url but this does not forward the authentication header or anything else as far as I know. Is there a way to