View Issue Details

IDProjectCategoryView StatusLast Update
0000115DefKeyGeneralpublic2021-01-29 00:01
Reporterzeynel Assigned Tozeynel  
PrioritynormalSeveritymajorReproducibilitysometimes
Status acknowledgedResolutionopen 
Summary0000115: My name appears on other's comments
Description

This started to happen recently. Is this happening because cookies are cached?

TagsNo tags attached.
Attach Tags

Activities

zeynel

2020-04-15 14:19

administrator   ~0000085

Last edited: 2020-04-15 14:30

That is a serious problem caused by cached identity cookies. I could solve it in ASP.NET as described here;

https://www.c-sharpcorner.com/UploadFile/abhikumarvatsa/output-caching-in-mvc/

BUT I don't think Ezoic's cache will care about it, it'll cache identity cookies anyway.

SOLUTION 1:

The solution is seperating admin section. Or else I'll have to disable output cache completely. That way, nobody will get Identity cookie in regular website because it belongs to a subdomain.

  • Admin tasks will be done in different subdomain like produce.defkey.com.

  • Comment section will check if visitor is an autenticated user, in ajax and fill in a hidden field with userID. NOTE: Additional request may not be necessary, User ID can be returned in existing comment ajax.

SOLUTION 2:

Disabling output cache completely. The site don't have such big user system, maybe this would be necessary in future but probably not now...

zeynel

2020-04-16 17:24

administrator   ~0000086

NOT2: Guest'ler birbirine cevap verdiklerinde OP yazmasın. En azından IP farklı ise yazmasın.

zeynel

2020-04-16 20:17

administrator   ~0000087

Last edited: 2020-04-16 20:18

Aslında Identity Cookie önebelleğe alınmıyor, en azından local'de sorun yok. Sorunun tam kaynağını anlayamadım, Ezoic bir şeyleri cache'liyor olabilir ama test ettiğimde bir sorun yok gibi görünüyor.

zeynel

2021-01-26 10:16

administrator   ~0000120

Ezoic cache'ini kapattım, ilk notta bahsedilen çözümü uyguladım. Yani outputcache kullanıcı bazlı olarak oluşuyor. Bakalım yeniden olacak mı.

Add Note

View Status
Note
Upload Files
Maximum size: 5,000 KB

Attach files by dragging & dropping, selecting or pasting them.

Related Changesets

Defkey on MS DevOps: master 31c200b8

2021-07-24T23:49:01Z

zeynel

Details Diff
testing issue 0000115 Affected Issues
0000115
mod - /keyboardSite Diff File
mod - /keyboardSite/Classes Diff File
mod - /keyboardSite/Classes/siteClasses.cs Diff File

Issue History

Date Modified Username Field Change
2020-04-15 08:37 zeynel New Issue
2020-04-15 08:37 zeynel Status new => assigned
2020-04-15 08:37 zeynel Assigned To => zeynel
2020-04-15 08:37 zeynel Sticky Issue No => Yes
2020-04-15 14:19 zeynel Note Added: 0000085
2020-04-15 14:20 zeynel Note Edited: 0000085
2020-04-15 14:21 zeynel Note Edited: 0000085
2020-04-15 14:29 zeynel Note Edited: 0000085
2020-04-15 14:30 zeynel Note Edited: 0000085
2020-04-16 17:24 zeynel Note Added: 0000086
2020-04-16 20:17 zeynel Note Added: 0000087
2020-04-16 20:18 zeynel Note Edited: 0000087
2021-01-26 10:16 zeynel Note Added: 0000120
2021-01-26 10:16 zeynel Status assigned => acknowledged
2021-01-28 23:50 zeynel Changeset attached => Defkey on MS DevOps master 31c200b8