![]() |
Variable Persist for User Session
With the help of Opserty, Danny, MoT3rror and Dismounted, I was able to get a non-vBulletin page to pass in 3 values into a vBulletin page via the query string.
Great. I now would like to have those 3 variables persist for the length of the users session. Different users will have different values for these variables. Some users may have the same values as others as well. Here's the question: Is there an easy way to invoke a 'persist' state for variables that are declared in a global_start plugin? |
<a href="https://vborg.vbsupport.ru/showthread.php?t=152344&highlight=session" target="_blank">[How-To] Extend and use the Session Table Effectively
</a> maybe? |
|
Quote:
Can someone step me through the high level implementation of this function? For example, I have exposed the values I want to store in the cookie (3 int and 1 str) using the global_start hook. Two questions: 1. Where should I use the vbsetcookie? 2. How do I call the value of vbsetcookie on the next page? Thanks in advance for anyone's help. |
Extending the session table would be more effective, IMO.
|
All times are GMT. The time now is 01:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|