---
title: "How to Pass Arbitrary Values Into a LiveSession"
url: https://daily.dev/posts/how-to-pass-arbitrary-values-into-a-livesession-htxfkbino
source_url: https://dockyard.com/blog/2024/04/11/how-to-pass-arbitraty-values-into-a-livesession
type: article
source: "DockYard"
published: 2024-04-11T21:31:28.830Z
updated: 2024-05-09T08:29:02.242Z
tags: ["webdev", "elixir", "liveview"]
reading_time: 1
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Pass Arbitrary Values Into a LiveSession

**[DockYard](https://daily.dev/sources/dockyard)** · 1 min read · 0 upvotes · 0 comments

## Summary

Learn how to pass arbitrary values into a LiveSession in Elixir using the 'live_session' and 'session' options. This allows for simple state to be passed to a group of LiveViews without much complexity.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dockyard.com/blog/2024/04/11/how-to-pass-arbitraty-values-into-a-livesession>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#elixir](https://daily.dev/tags/elixir), [#liveview](https://daily.dev/tags/liveview)

[View this post on daily.dev](https://daily.dev/posts/how-to-pass-arbitrary-values-into-a-livesession-htxfkbino)
