diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-10 18:11:40 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-10 18:11:40 +1200 |
commit | bd09a39f12c4471bdc342e5a16fbabdffdc645d1 (patch) | |
tree | db94476ee604c2026c5653975c526352093d5628 /src/org/traccar/http/AsyncServlet.java | |
parent | 953852e6e984f8a639cf1a5ac4116fff755d538a (diff) | |
download | trackermap-server-bd09a39f12c4471bdc342e5a16fbabdffdc645d1.tar.gz trackermap-server-bd09a39f12c4471bdc342e5a16fbabdffdc645d1.tar.bz2 trackermap-server-bd09a39f12c4471bdc342e5a16fbabdffdc645d1.zip |
Refactor web app architecture
Diffstat (limited to 'src/org/traccar/http/AsyncServlet.java')
-rw-r--r-- | src/org/traccar/http/AsyncServlet.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/http/AsyncServlet.java b/src/org/traccar/http/AsyncServlet.java index f00257f80..2bc6ff7a1 100644 --- a/src/org/traccar/http/AsyncServlet.java +++ b/src/org/traccar/http/AsyncServlet.java @@ -182,7 +182,7 @@ public class AsyncServlet extends HttpServlet { context.setTimeout(ASYNC_TIMEOUT); HttpServletRequest req = (HttpServletRequest) context.getRequest(); - long userId = (Long) req.getSession().getAttribute(MainServlet.USER_ID); + long userId = (Long) req.getSession().getAttribute(MainServlet.USER_KEY); synchronized (asyncSessions) { |