This Week's Trending
This Month's Trending
This Year's Trending
I’ve been reading about session management on Phoenix LiveView for the last couple of days and can’t seem to find a solution for this pro...
New
Last Three Year's Trending
I have noticed that the session cookie is not set to secure, how to turn the secure flag on for Phoenix sessions?
New
My current authentication system looks like this:
On entering username and password, the login endpoint is called (not a form action) t...
New
A new project has a requirement that browsing content and searching while not logged in involves zero cookies. When the same pages are vi...
New
Hi, I’m slowly losing my mind about a bug with liveview on iOS.
Users on my application are members of organizations, and the homepage i...
New
Hi there!
We have an older Django application and we plan to rewrite some parts of the application and also implement new features in Ph...
New
I am building a language switcher (“en”, “de”, “fr”, etc. select input box) of my website;
when user first access, I detemine their acce...
New
Im using an ETS table to store sessions. The Cookie is not used to when accessing the ETS table. How do I prevent the set-cookie header f...
New
My app (one instance) is accessible from two different domain name, let’s say a.com and b.com.
The app behaves different for each domain...
New
We want to persist session data in liveview navigation.
Using the PhoenixLiveSession.put_session() function set’s the session but this i...
New
I’m trying to create a controller function that returns a view of the currently logged in user. I use guardian for authentication, and sa...
New
Trending Over Three Years
Hello y’all!
I’m very new to the Elixir/Phoenix beauty but very excited to learn more!
I’m building a Phoenix json API with a (separate...
New
In mount/3 callback of a LiveView module, you get session as the second parameter. It works fine, until you use live_redirect/push_redire...
New
Hi, I’m having a Phoenix issue. I am testing a plug I wrote that calls get_session/2 at one point in order to fetch a value stored in a s...
New
Hello
In the generated authentication code by phx_gen_auth, I learn the following:
A “session cookie” maintains the user logged in for ...
New
Here are the docs for Plug.Conn.get_session: Plug.Conn.html#get_session/1
And here is the key line from the docs:
Returns the whole se...
New
Going off the example auth blog post where we have a plug helper like so.
# lib/my_app/router.ex
import MyAppWeb.UserAuth
pipeline :bro...
New
Hello Elixir Forum !
I have an existing web app that I’d like to integrate within a new phoenix project. To provide context for those wh...
New
I’m working on a “learn something” project at work using Phoenix LiveView. My team is building a planning poker app (similar to the one f...
New
I need to persist a value to a user session navigating between liveviews. I have found similar use cases describing some “cart” functiona...
New
To play around with LiveView on my phone I have configured my Endpoint like this:
config :my_app, MyAppWeb.Endpoint,
http: [port: 4000...
New
I have a slot booking app. What i want is lock a slot 5 minutes for a session/user. I added lock_until, locked_for attributes to slots. A...
New
I was moving my personal site to Phoenix LiveView and noticed the there is always a session cookie present.
I’m wondering if it’s possib...
New
Delete session in Phoenix In Action, why using both clear_session and configure_session(drop: true)?
Programming Phoenix logs a user out with
configure_session(drop: true)
Phoenix in Action logs a user out with
|> clear_session()
|&...
New
Hello~
I don’t save too much in session.
Why am I getting this error?
I don’t know where to find a bug in my code.
can anyone give me...
New
I’ve got the following admin-only endpoint to change the building_id for the current session:
@spec switch_building(Plug.Conn.t(), map...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







