Hi,
Is it possible to extend user's session expiration time in CI. What I want to do is, by default every user's session cookie lasts for example 1 day, but every time user visits the site his session expiration time is extended by one more day.
I don't know if it is a good idea to do this, maybe I should just set cookies life time for...
Hey folks,
I am using the Zend Framework but my question is broadly about sessions / databases / auth (PHP MySQL).
Currently this is my approach to authentication:
1) User signs in, the details are checked in database.
- Standard stuff really.
2) If the details are correct only the user's unique ID is stored in the session and a secu...
I think I am stuck in the paralysis of analysis. Please help!
I currently have a project that
Uses NHibernate on SQLite
Implements Repository and Unit of Work pattern: http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/04/10/nhibernate-and-the-unit-of-work-pattern.aspx
MVVM strategy in a WPF app
Unit of Work implementation i...
I have a problem about tomcat,
Our application designed on Tomcat 4.1.X and When I restart Tomcat 4.1.X there is no problem.
But I upgrade it to Tomcat 5.0.X. Now ,when I restart Tomcat 5.0.X session is down and application redirect me to login page.
Any idea?
...
Most session are based on cookies,like php/jsp
But as for mobile devices,there are quite a few that doesn't support cookies.
How to generate a unique indentify for each user in the same corporation that uses the same IP address?
...
Hi,
I have an app that requires user to register. I've got the app conected to PHP in my server to do the logic of register/login and so, this is not problem at all.
But, I want to keep a session of the user in local, so the user doesn't have to login again every time he runs the app.
So, I want something like this:
First time user,...
Hello there,
I am writing an ajax script in jQuery. The script gets new or previous page from a php documents that returns HTML.
If, located on page 1, I click next, the script IS able to find the next page number (page2), but when I click it AGAIN, the script again has to be able to find the next page number (page3) and at the minute ...
I need some guidance on how to use session objects with SQLAlchemy, and how to organize Unit Tests of my mapped objects.
What I would like to able to do is something like this:
thing = BigThing() # mapped object
child = thing.new_child() # create and return a related object
thing.save() # will also save the child object
In order to a...
I am writing a little shellscript that needs to go through all folders and files on an ftp server (recursively). So far everything works fine using cURL - but it's pretty slow, becuase cURL starts a new session for every command. So for 500 directories, cURL preforms 500 logins.
Does anybody know, whether I can stay logged in using cUR...
So how do you maintain the form security about posting data to different page problem? For instance you have a member and he/she tries to change the personal settings and you redirected member to
www.domain.com/member/change/member_id
member changed the values and post the data to another page by changing the action with firebug o...
I have seen lots of posts here and elsewhere stating that one can access session variables from app_code. I want to access an already created session.
this code errors out because of a null exception.
string myFile = HttpContext.Current.Session["UploadedFile"];
this creates a null session variable.
System.Web.SessionState.HttpSessio...
For each user, I want to allow them to choose their preferences, such as which categories to show on their profile, which tags they want to see, etc. Would cookies be better than sessions because they don't expire when users logoff?
...
The task was to bypass login form on remote server with a session_id acquired through a call to server's web API. So that user wouldn't have to login twice.
Since there's no way to set cookies for different domain. What we came up to was - put a little file on remote server, to which we pass encrypted session_id from hidden iframe and w...
I have an array that I want on multiple pages, so I made it a SESSION array. I want to add a series of names and then on another page, I want to be able to use a foreach loop to echo out all the names in that array.
This is the session:
$_SESSION['names']
I want to add a series of names to that array using array_push like this:
arra...
In this question I asked how to POST to a php file form a vb.net app: http://stackoverflow.com/questions/2615335/post-to-webpage-in-vb-net-win-forms-desktop-not-asp-net
So now I've logged in the user user by posting their username and password to the php file, the php file then does security/checks they exist/etc and if both username and...
I am researching possibilities of using memcached as a session storage for a system built on CodeIgniter. Has anybody done this before(that's probably a stupid question :) and if so what's your experience folks? Have you used any existing libraries/extensions?
As far as performance improvement what have you seen? Any caveats?
...
Error I tried this page to run on local, it is running perfectly fine but showing me a warning on uploading. What might be the reason.
I used session as per given in w3schools..
The session_start() function must
appear BEFORE the tag
...
Hi,
I have read
http://stackoverflow.com/questions/975877/how-to-give-cname-forward-support-to-saas-
http://stackoverflow.com/questions/377137/rails-multiple-top-level-domains-and-a-single-session-cookie
But I am unable to get a solution for the following setup:
A SaaS Webapp in Rails is running under example.com
All users have a ...
Im making a gaming community and i wanna be able to grab any info of the user on any page without so instead of having much of queries on all pages i made this function. Is it better to do this? Will this slow down the site?
/**
* Возьмем значение из любой области authed пользователей.
*/
function UserData($f)
{
global $_SESSION;
...
I have been trying using MS VSTS 2008, no luck so far..
After the redirection from server to accomodate the sessionID in URL, the test fails during the first time recording.
I am open to looking at other tools which are not very expensive.
Does anyone have any experience using any tool for testing cookieless sessionID website?
...