Each invoice will have its own invoice number or id number. So session should be fine, or use session array.
I normally just do some trial and error work first to see what works.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey ! genius. this is really big doubt for me. please help me to resolve this .
Think, i need to save "INVOICE_ID" in laravel session .so i m going to use Laravel session . after that i will add that invoice_id variable in to that session .
After that , I will access that variable in several pages . When user logged out from the system . every sessions will clear.
Here is my question. if he/she open several tabs and access different invoices , then system will keep several invoice numbers in session. Am i right ? If NO, please explain it.
Screens https://snipboard.io/qpXLaE.jpg https://snipboard.io/3ZoahR.jpg
Each invoice will have its own invoice number or id number. So session should be fine, or use session array.
I normally just do some trial and error work first to see what works.
Please or to participate in this conversation.