Session ID monitoring

13 views
Skip to first unread message

김상철

unread,
Mar 9, 2020, 9:40:58 AM3/9/20
to memcached
I am going to use memcached.
In memcached, I want to check the SessionID that is accessed from was. Is there a command?
For example, when you use Redis, you see the session ID coming in from redis-cli to monitor.
Is there a command that functions the same in memcached?

Best regards

dormando

unread,
Mar 9, 2020, 3:08:13 PM3/9/20
to memcached
Hey,

I'm not completely sure on what you're trying to do, but there's the
`watch` command (see doc/protocol.txt). It's missing a log of log points
still but acts similar to redis monitor. Clients are identified by their
file descriptor, not any sort of unique session id.
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to memcached+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/memcached/c7409640-0851-4ab5-a807-be870deffea8%40googlegroups.com.
>
>

김상철

unread,
Mar 9, 2020, 7:28:38 PM3/9/20
to memcached
Thank you for your answer.
I am going to use Tomcat and Memcached to do Session Clustering. The configuration is complete  but I don't know how to check SessionID in Memcached.
Do you have any related commands?

2020년 3월 10일 화요일 오전 4시 8분 13초 UTC+9, Dormando 님의 말:
Hey,

I'm not completely sure on what you're trying to do, but there's the
`watch` command (see doc/protocol.txt). It's missing a log of log points
still but acts similar to redis monitor. Clients are identified by their
file descriptor, not any sort of unique session id.

On Mon, 9 Mar 2020, 김상철 wrote:

> I am going to use memcached.
> In memcached, I want to check the SessionID that is accessed from was. Is there a command?
> For example, when you use Redis, you see the session ID coming in from redis-cli to monitor.
> Is there a command that functions the same in memcached?
>
> Best regards
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to memc...@googlegroups.com.

dormando

unread,
Mar 11, 2020, 3:36:56 AM3/11/20
to memcached
Hey,

Sorry I don't know anything about tomcat so I'm not sure what you're
asking. Can you talk to a Tomcat community?

On Mon, 9 Mar 2020, 김상철 wrote:

> Thank you for your answer.
> I am going to use Tomcat and Memcached to do Session Clustering. The configuration is complete  but I don't know how to check SessionID in Memcached.
> Do you have any related commands?
>
> 2020년 3월 10일 화요일 오전 4시 8분 13초 UTC+9, Dormando 님의 말:
> Hey,
>
> I'm not completely sure on what you're trying to do, but there's the
> `watch` command (see doc/protocol.txt). It's missing a log of log points
> still but acts similar to redis monitor. Clients are identified by their
> file descriptor, not any sort of unique session id.
>
> On Mon, 9 Mar 2020, 김상철 wrote:
>
> > I am going to use memcached.
> > In memcached, I want to check the SessionID that is accessed from was. Is there a command?
> > For example, when you use Redis, you see the session ID coming in from redis-cli to monitor.
> > Is there a command that functions the same in memcached?
> >
> > Best regards
> >
> > --
> >
> > ---
> > You received this message because you are subscribed to the Google Groups "memcached" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to memc...@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/memcached/c7409640-0851-4ab5-a807-be870deffea8%40googlegroups.com.
> >
> >
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to memcached+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/memcached/a011b090-3184-472e-8a38-3e6c879557b8%40googlegroups.com.
>
>

Martin Grigorov

unread,
Mar 16, 2020, 4:09:58 AM3/16/20
to memc...@googlegroups.com
Hi,

(I am a member of Apache Tomcat team).

I also do not understand the question.
When saving the http session in a store like Memcached, one uses the sessionId as a key and the http session bytes as a value.
What exactly do you need to do from here ?

Regards,
Martin

Reply all
Reply to author
Forward
0 new messages