Category "session"

alternative for alter session set week_start in snowflake

I need to set week start from sunday as default in snowflake i used alter session set WEEK_START = 7; when querying in snowflake worksheet it works fine but wh

open(/var/lib/php/session/...sesionid, O_RDWR) failed: Permission denied (13)

I am running my website on using ec2 nginx. I have done a update on the instance and now I getting this error when the site loads. open(/var/lib/php/session/ses

Having problems with sessions not allowing flow from isset to isset in same page

I have a page titled "test.php" When I remove all session statements it works fine. However I wish to create session for security purposes (cannot get in witho

Losing session data after POST from third party website

I have a Laravel site that redirects to a payment provider (external third party website). When the user completes their payment, they are redirected back to my

mongo-connect error with mongo-connect(session)

After searching around about it, I can't find any solution or mistake in my code about this error. I've got my app.js files inside my node JS application with t

Laravel reuse session on subdomain

Let's say, I created 2 server and 4 sub domains. example.com and first.example.com route to first server. second.example.com and third.example.com route to seco

Is there an equivalent of DynamoDB on Azure as a PHP session Handler

Is there a equivalent of DynamoDB on Azure as a PHP session Handler? I found some very old articles online suggesting to use Azure Table Storage but it doesn't

how can I set a session variable in Drupal 8 and get it in a php script?

I'm working in a custom module for drupal 8. I have a form and I'm trying to send by means of a submit button some data from my custom module to another php scr

Using PHP Sessions for High Traffic with AJAX and CodeIgniter

I was reading the CodeIgniter 3 documentation on using sessions and high traffic with AJAX, and it recommends using session_write_close(). My application has fu

How long is session stored in express-session on server?

I have used ExpressJS with express-session for Session Management. According to its NPM page, we can add a maxAge and cookies.expires. But, both of these manage

Reset Symfony session lifetime/timeout on user activity

How do I reset the time of the Symfony session as long as there is activity of the user logged into the application. in config.yml: cookie_lifetime: 3600 # 1

Two sessions and two different lifetime in Laravel

If change Laravel lifetime sessions in .env file it works for all sessions. How can I determine the lifetimes of every session separately?

How to access Session in PHPUnit WebTestCase (Symfony 5)

I'm trying to test methods which requires Sessions in my PHPUnit WebTestCase, with no success. PHP 8.0, Symfony 5.4 Here's my code: When user log-in, I'm saving

Property `user` does not exist on type `Session & Partial<SessionData>`

I had a code in javascript and I'm trying to convert it to typescript route.get('/order', async(req,res) => { var sessionData = req.session; if(typ

Using PHP sessions to open new android activity

I have created the following PHP in order to check if some username already exists inside a database. If it exists and the username+password is correct, I had

Microsoft SQL Server Create a session specific synonym

I am working on a database that hold specific session data in separate tables for each session. e.g. I'd have a table called ProductsABCD, which holds products

ASP.Net Cookie, my session values are null

I have problem with my cookie and session. I use cookies to move data between pages, and sessions only to check whether a session is logged or not. But after as

Why would hibernate not close its session after select query?

When calling the following method 10 times there are 11 open sessions on the database: public void readHsql() { SessionFactory sessionFactory = getSessi

How to implement asynchronous middleware in Nuxt.js

I have a Nuxt middleware file that fetches the session from an external api. This session is used to set things such as locale, so it's important that it is fet

TypeError: Object of type Cart is not JSON serializable

I just started using session in Django framework. I have create an object cart from Cart model. And when i wan to set cart inside request.session with session['