Enable Sticky session in Traefik (Windows container, Nomad, ASP.NET application)

Working on a windows container using Nomad with Traefik Load balancer. I could run container successfully. But while setting sticky session to true in asp.net web application Nomad job file as below, somehow, I couldn't see any cookies in Developer tools under Application -> Storage -> Cookies. Please correct me, if I am missing something in the configuration.

"Services": [
{
"Name": "DemoWebApp-WebApps-AspDotNet",
"TaskName": "AspDotNet",
"PortLabel": "http",
"AddressMode": "auto",
"Address": "",
"EnableTagOverride": false,
"Tags": [
"traefik.enable=true",
"traefik.http.routers.app5.rule=Host(XXXXXX.com),
"traefik.http.routers.app5.entrypoints=websecure",
"traefik.http.routers.app5.tls=true",
"traefik.http.services.app5.loadBalancer.sticky=true",
"traefik.http.services.app5.loadBalancer.sticky.cookie=true",
"traefik.http.services.app5.loadBalancer.sticky.cookie.name=StickyCookie",
"traefik.http.services.app5.loadBalancer.sticky.cookie.secure=true"
],

Use 3 backticks in front and after the code to format it, or select the code and press the </> button. In YAML every space matters.

Please help me with my request.

I am running this job using .hcl file.

Sticky sessions doc.