| |

VerySource

 Forgot password?
 Register
Search
View: 725|Reply: 4

[SOLVED] Regarding COOKIE, if a website creates a COOKIE, can the website I made locally read? Thanks, wait online

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-3-2 17:00:01
| Show all posts |Read mode
Because the website has its own passport, which is saved with COOKIE, I make one of the channels. Whether the user is logged in or not, I use the entire website's passport to verify, that is, to determine whether COOKIE exists

But in the process of doing it, I still can't read the COOKIE of the pass. Why?

I read that the read cookie of other channels was used
request.Cookies ("abc") ("UserName") This is written by ASP.

I wrote in ASP.NET with Request.Cookies ["abc"] ["UserName"], why can't I read the value?

What does abc stand for? What does UserName stand for?

Thank you
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 Invalid IP Address

Post time: 2020-5-13 23:30:01
| Show all posts
The abc generation and UserName are like the rows and columns of the table. Each website's cookie has its own domain.
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-5-14 13:30:01
| Show all posts
It is possible to put it under the same website, and cross-domain is definitely not acceptable.
Reply

Use magic Report

0

Threads

29

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-5-14 16:15:01
| Show all posts
Set domain shared cookie
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-5-27 12:30:01
| Show all posts
Kind of understood. Thank you
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