What else is there in the same controller that wants to pass parameters between different actions and remove the set cookie?

Source: Internet
Author: User
How to pass parameters between different actions in the same controller besides setting a cookie.
In the same controller, there are ways to pass parameters between different actions, in addition to setting cookies. Thank you
------Solution--------------------
References:
Quote: References:

Global variables globally, you can also URL to the parameter, you can also use the database, all kinds of ways have, look at your needs.


Is the data submitted by the form, received in one action, and then in the other action, it is necessary to pass the argument between the action. In my case, how to compare the appropriate
database, static files
------Solution--------------------
Cookie/session
URL parameters

If you invoke another action in one action, pass it directly.
  • 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.