| |

VerySource

 Forgot password?
 Register
Search
Author: freeamway

asp.net authentication problem with session

[Copy link]

0

Threads

18

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-9-29 00:00:03
| Show all posts
The original poster just doesn't believe my method? ?
Reply

Use magic Report

1

Threads

18

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

Post time: 2020-9-29 00:45:01
| Show all posts
ice185013
-------------

May I ask for form verification, how do I use the database I built, do I need to use membership?
Reply

Use magic Report

2

Threads

17

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-9-29 10:00:01
| Show all posts
Brother, it's not that I don't believe it, it's that I don't, I only know a little bit, and I am embarrassed to ask again. . .
Had to explore it slowly. . . . . . .
Reply

Use magic Report

2

Threads

17

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-9-29 21:30:01
| Show all posts
There seems to be a problem with using form authentication. If the user and management access a page without authorization, they will be redirected to the same login page. In fact, management login and user login are two different pages, one is in the root directory The login.aspx and the other is login.aspx in the admin directory. How to achieve this?
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 United States

Post time: 2020-9-29 21:45:01
| Show all posts
Two Login.aspx?
Reply

Use magic Report

2

Threads

17

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-9-29 22:45:01
| Show all posts
Yes, one is for user login and the other is for administrator login
My question now is how to implement the authentication of page access control rights under the admin directory. I don’t want to write a long verification code for each page. I want to implement it in a unified way, and it’s easy to modify.
Reply

Use magic Report

0

Threads

10

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-9-30 00:30:01
| Show all posts
attention. I also encountered a user login and an administrator login problem. And when the user logs in, I want to upload a user object to the user background page. If I don’t use SESSION, how can I upload it?
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-9-30 07:15:01
| Show all posts
There are a few upstairs, you can jump to the page according to the user's role
Reply

Use magic Report

2

Threads

17

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-9-30 07:30:01
| Show all posts
Brother, I can't. . .
I flipped through the books in my hand and didn’t tell me how to do it. They all talked about control properties and so on.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list