Search documentation of phoenix_kit

# PhoenixKitWeb.Live.Users.LiveSessions (phoenix_kit v1.7.87)

Copy Markdown View Source

Real-time session monitoring dashboard for the PhoenixKit admin panel.

This module provides comprehensive real-time monitoring of:

- All active sessions (anonymous + authenticated)
- Live session statistics and metrics
- Real-time connection/disconnection events
- Session geographic distribution
- Page activity heatmaps
- User behavior patterns

Features real-time updates via Phoenix LiveView and WebSocket connectivity. Only accessible to users with Owner or Admin roles.

## Summary

### Functions

handle_event(binary, arg2, socket)

Callback implementation for `Phoenix.LiveView.handle_event/3`.

handle_info(arg1, socket)

Callback implementation for `Phoenix.LiveView.handle_info/2`.

handle_params(params, url, socket)

Callback implementation for `Phoenix.LiveView.handle_params/3`.

mount(params, session, socket)

Callback implementation for `Phoenix.LiveView.mount/3`.

render(assigns)

Callback implementation for `Phoenix.LiveView.render/1`.

## Functions

# handle_event(binary, arg2, socket)

Callback implementation for `Phoenix.LiveView.handle_event/3`.

# handle_info(arg1, socket)

Callback implementation for `Phoenix.LiveView.handle_info/2`.

# handle_params(params, url, socket)

Callback implementation for `Phoenix.LiveView.handle_params/3`.

# mount(params, session, socket)

Callback implementation for `Phoenix.LiveView.mount/3`.

# render(assigns)

Callback implementation for `Phoenix.LiveView.render/1`.