How to achieve the difference in the page after member login

Updated on technology 2024-05-25
21 answers
  1. Anonymous users2024-02-11

    The simplest is to add a field to your user table, save his permissions, and then judge after logging in successfully, to achieve the difference.

    In fact, Microsoft has long thought about this matter, you go and look at user permissions.

    The settings are in.

    Let's see the tutorial for details. Give points.

  2. Anonymous users2024-02-10

    I use a class to store multiple static fields for identification.

    Click Login to determine that the user information will be stored in the static field after successful login.

    Read static fields when page load events and then read the profile of the logged-in user you need in the database.

  3. Anonymous users2024-02-09

    Make different pages according to different functions, and then point to different pages after logging in successfully, use redirect(url), remember the passing of parameters.

  4. Anonymous users2024-02-08

    Use the global variable session, by logging in, to determine the value of the variable, you doll, the Cultural Revolution questions can't be coarse, you still have to organize your language.

  5. Anonymous users2024-02-07

    Use 2 panel controls, if you are not logged in, show the first one, and after logging in, show the second one, just write the corresponding ** in it, this is a relatively simple way.

  6. Anonymous users2024-02-06

    What a mess.

  7. Anonymous users2024-02-05

    This is the issue of permission allocation.

  8. Anonymous users2024-02-04

    First of all, you need to set a limit in the database, any one can be, and then make a judgment on the submission page, if the permission value of the Ximoguo account is the one you set, then jump to the web page you want to restrict, if it is not the permission value you set, then jump to another page.

  9. Anonymous users2024-02-03

    I'll make one and I'll send it to your mailbox in a moment.

  10. Anonymous users2024-02-02

    You can do it by following the methods mentioned in the above two people.

  11. Anonymous users2024-02-01

    You can determine their username when you log in, and then dynamically load their backend homepage based on their permissions (which of course is actually a field stored in the database).

  12. Anonymous users2024-01-31

    Each record in the database will have an ID number, and the user tag belongs to that user, so that when logging in, you only need to read the record of the ID number of the current user in the database.

    select * from inofs where uid=1

  13. Anonymous users2024-01-30

    After logging in successfully, get the user identity, and then jump to different pages according to the identity!

    This can be written in ASP!

    select case rs("User Identity field")case "Identity 1"

    Interface 1")case "Identity 2"

    Interface 2")case "Identity n"

    Interface n")case else

    Other interfaces")

    end select

  14. Anonymous users2024-01-29

    A lot. For example, add a permission attribute to the class. Determine this property to enter a different interface.

  15. Anonymous users2024-01-28

    I'm also a forum worker!

    It is recommended that you do a backstage!

    Administrator front desk login is also possible!

    But you can only change the system settings if you log in in the background!

  16. Anonymous users2024-01-27

    It's actually quite simple.

    Analysis: We need to have a permission field to distinguish the user's permission level, and then after we verify its account password, we can do it when it jumps.

    Completion process: After completing the login verification, we first create a session to store its permissions, and put the user's permissions (that is, $row[) queried when logging in'level']) to the session, and then we only need to determine what the value of the session variable is to output the corresponding page.

    Example**: session['admin']=$row['level'] ;For example, if we assign a value like this, we can get the permission value of the logged-in user and record it with session.

    if($_session['admin']=="Regular users")else

    If there is no problem with your login, our experiment will be successful here, and the ** here should be placed after completing the login verification, that is, you can replace your original jump.

    To add (* We're working on the login verification page (that's what the canonical name should be.) )

  17. Anonymous users2024-01-26

    Judge the user, give the user a permission, or you write a single choice for him Write a category such as teacher and student, teacher login, select teacher login, student login, select student login.

  18. Anonymous users2024-01-25

    Directly link to the database according to the account, and redirect the specified associated URL.

  19. Anonymous users2024-01-24

    Write judgment, set a login permission to put in the database, such as an employee, a leader, is a radio button, you click on the leader and submit your login permission is 1, and then according to the login permission of 1 to find the account and password. Verify that you have successfully logged into; Do you want to be specific?

    permission=$post["The name of the radio button"];

    if($permission==1).

    elseif($permission==0).

  20. Anonymous users2024-01-23

    Add a button listener event, and then update the UI in the listener event.

    If it's just a few partial jpanel updates, write directly in the listener event.

    If the two interfaces are completely different in style, it is recommended to switch directly to the other interface.

  21. Anonymous users2024-01-22

    After the user clicks the login button, the user name and password and other information are sent to the Fangye's own backup core shouting web page, and then obtain the user information from the access database, and jump to a different web page, I don't know what language you use.

    asp.

    if userpowder = admin' then"admin is stupid"

Related questions
1 answers2024-05-25

In Windows (Windows XP, Windows Vista, Windows 7), it is actually easy to implement automatic login users at boot. >>>More

15 answers2024-05-25

SSH passwordless access.

cd /root/.ssh/ >>>More

8 answers2024-05-25

All Wonderful Features and Privileges (38 items) More Distinguished Red Name Top Ranking Super Pretty Card QQ Level Acceleration Filter Ads Forum Privileges VIP Mailbox Privileges Cooler Member Avatar Member Magic Emoticons Member Bell Member Greeting Card Member ** Weekly Graffiti Emoji Super Privileges for a Stronger Member Group Member Chums Friends Limit (1000 people) Network hard disk ( Web Album (1G) QQ Mailbox (3-6G) Member VIP Server Login More Free File Transfer Offline File Roaming Emoji Roaming Chat history roaming Email Mobile Notification Enhanced Friend Online Mobile Notification Offline Message Mobile Notification Mobile Phone Settings Avatar Mobile Phone Settings Xuanling Network Memo Network Favorites More Secure and Super Security Protection Phone Abnormal Phone Notification Mobile Phone Reset Password Considerate Login Tips Friend Clone More Affordable Recharge Q Coin Account Discount 5% Off Premium Group Payment.

16 answers2024-05-25

How to open a member]: Bank card every month; Mobile phone: $10 per month; [QQ members 10q coins per month; Discounts are available during the event; Bank card per month; Mobile phone: $10 per month; [There are two ways to open QQ members: monthly subscription and prepaid mode; (Except for system gifts) [Monthly payment (calculated according to the natural month, from the 1st of each month to the end of the month is one month): >>>More

16 answers2024-05-25

Summary. Membership top-up needs to be done by following these steps:1 >>>More