I am using codeigniter-3 for developing the web part, i am using sessions for maintaining the user data once the user login if i click on any page or button the page is redirect to the login page. i have two projects of codeigniter-3 if i launch the project-1 in browser and login with credentials it’s navigating to the another
Tag: session-cookies
Session-Handling doesn’t set properly on PHP
I’m working on php-Website for my School-Project which I have to get finished soon. Now I’m stuck with my Session-Handling. User signup & login works just fine. But this variable isset($_SESSION[“useruid”]) is always false and doesn’t let me access the homepage, even the alert in the header says, that I am successfully logged in. Here are the two parts, which
For some reason. IF statement is working….Ive tried If/else with no luck either [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 7 months ago. Improve this question
Best way to securely transfer user to different URL while maintaining their ‘logged in’ status
In the latest version of our SAAS product, we are designing it to allow our customers to deploy multiple instances of the software. We require the sign up and login to be tightly integrated into the primary domain – the “sells the product to new customers” website PrimaryDomain.com which features “Sign Up” and “Login” forms that use jQuery/AJAX to give
Why cookies are added rather than changed?
I am developing a site where each user should have their own id. When I went into the console, I saw that the id was duplicated instead of being one. Is this normal and should it be? Answer Cookies, by default, use the path of the page that they are set for. You should explicitly set the path to /
DNI show div based on landing page, continue showing div entire session
I have about 60 landing pages that use different phone numbers on them. I am using a combination of WordPress and Advanced Custom Fields to place the phone numbers on their respective pages. I am being asked to show a <div> based on the landing page URL that will not only show the phone number assigned to that page, but,
PHP cookies and redirection
I have a website in two languages: English and French. And I want to redirect people based on their browser languages: if there browser language is French, I redirect people on /fr, else they go to …
Why sessions are not working in home directory of website
In my website, After login the sessions are being set but they are not working in files of home directory but they are working in the other directories like /admin. Maybe its some problem of my robots.txt file. this is the code of robots.txt file- Code of my navigation bar – The place where I am setting sessions in login.php
How to save PHP session after browse closing? (without separate cookies)
There are a lot of Stack Overflow questions which advise using separate cookies to keep session parameters, but I don’t want to store any additional cookies on the client side. At the moment I have a new session with empty session parameters after each browser restart. Is there any way to keep the PHP session active after each browser restart?
PHP session cookie not extending timeout on activity
Scenario User visits at 2:00:00PM and a session is assigned that will expire in 30 minutes. User continues activity with requests to the server for 30+ minutes. User’s session expires at 2:30:00PM (…