Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
We want to implement CloudFlare True-Client-IP in Able so CDN-protected sites can see the origin IP for orders, page tracking etc. I can't find where AbleContext.Current.Session.UserHostAddress is actually set. I assume it's in the core Able HttpHandler which full source does not include.
Is there a place in the request processing flow where we can parse the request header and update the AbleContext.Current.Session.UserHostAddress value?
|
|
|
|
Rank: Member
Groups: Authorized User, Developers Joined: 11/12/2018(UTC) Posts: 25
Thanks: 1 times Was thanked: 4 time(s) in 3 post(s)
|
Not sure, but maybe Application_BeginRequest function in Global.asax?
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
We had this implemented late last year, I believe the file that you need would be the SessionFacacade.cs under CommerceBuilder.
If you require assistance with the code, please let me know.
-Ray
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close