Javascript redirect with headers or session id

后端 未结 1 780
醉话见心
醉话见心 2021-01-07 14:38

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

相关标签:
1条回答
  • 2021-01-07 15:21

    There is not a standard method for doing that since javascript is a client side language but you have some alternative low-security solutions.Sessions are not necessary to function a client side language also for the better security you better stick to PHP or some other server side language.Because javascript can be easily skipped and it might put you in a trouble.

    Just use your authenticated language for session and header functions also.

    Hope this helped, Regards.

    0 讨论(0)
提交回复
热议问题