What should I do when saving login information? What should I do?

Source: Internet
Author: User
What should I do when saving login information ?? Logging & quot; & gt; & lt; iframe & gt;) indicates logon. how can I record the logon information. the other nested pages need login information to determine whether a user is logged on. please help me to save some suitable login proxy information. what should I do ??
A home page has three nested pages ( <Iframe>) <br/> indicates how to record the logon information. the other nested pages need login information to determine whether the user is logged on. please help me and leave some suitable code for reference. it does not matter if the code is short. <br> <br/> ------ solution -------------------- <br/> Generally, the login information is stored in the session, and a method is written to determine whether to log on, you can call the interface at the beginning of each page. what does this have to do with the three nested pages on the home page? <Br/> ------ solution ------------------ <br/> use session to write data to the session after successful logon. when you exit, clear a session or set its expiration time <br/> ------ solution ------------------ <br/> use setcookie () <br/> ------ solution ------------------ <br/> session ("username ") = Request. form ("username") <br/> The entire page has a session, which has nothing to do with your framework <p class = "clear">

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.