# Sticky sessions cookie issue

**URL:** <https://community.a10networks.com/t/sticky-sessions-cookie-issue/243>\
**Category:** ADC - Application Delivery\
**Tags:** cookie, slb-adc\
**Created:** [December 16, 2013, 1:06pm UTC](https://community.a10networks.com/t/sticky-sessions-cookie-issue/243 "2013-12-16T13:06:36Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![mischa](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mischa](https://community.a10networks.com/u/mischa)\
**Post date:** [December 19, 2013, 2:12pm UTC](https://community.a10networks.com/t/sticky-sessions-cookie-issue/243/21 "2013-12-19T14:12:47Z")

</div>

The service-group for virtual-port 443 is also going to port 443 on the server?  
The application is probably doing the redirect when it’s not receiving traffic in port 443.

---

<div class="post-metadata">

**Author:** ![PjarInk](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@PjarInk](https://community.a10networks.com/u/PjarInk)\
**Post date:** [December 19, 2013, 2:22pm UTC](https://community.a10networks.com/t/sticky-sessions-cookie-issue/243/22 "2013-12-19T14:22:56Z")

</div>

I will look into that, thanks alot for your help so far!

---

<div class="post-metadata">

**Author:** ![PjarInk](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@PjarInk](https://community.a10networks.com/u/PjarInk)\
**Post date:** [December 19, 2013, 3:22pm UTC](https://community.a10networks.com/t/sticky-sessions-cookie-issue/243/23 "2013-12-19T15:22:51Z")

</div>

We need to have SSL on port 8080 towards the servers, what I can’t seem to understand is that when I have both http and https in one service group, how does the AX distinguis the traffic and send it on the correct port?

What we see right now is that when you open the site (http) the request comes in on 8080 to the servers. It’s not encrypted between the AX and the servers since the AX is terminating the SSL.

---

<div class="post-metadata">

**Author:** ![mischa](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mischa](https://community.a10networks.com/u/mischa)\
**Post date:** [December 20, 2013, 9:05am UTC](https://community.a10networks.com/t/sticky-sessions-cookie-issue/243/24 "2013-12-20T09:05:01Z")

</div>

In this case you can \_not\_ add both ports to the service group. If you can send me your running config offline I will build an aFleX that suits your needs as the standard cookie persistence will not work for you.

---

<div class="post-metadata">

**Author:** ![PjarInk](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@PjarInk](https://community.a10networks.com/u/PjarInk)\
**Post date:** [December 20, 2013, 9:50am UTC](https://community.a10networks.com/t/sticky-sessions-cookie-issue/243/25 "2013-12-20T09:50:59Z")

</div>

I will send it to you, thank you!

[Previous page](https://community.a10networks.com/t/sticky-sessions-cookie-issue/243.md?page=1)
