Hi folks,
I am storing data in session variable (using PHP). I don’t know what is the limit for session.
I am using Firefox version 3.6.
Wanted to know maximum size of session variable for different browsers(FF, MSIE7/8, chrome, opera, safari )
Also please suggest that, storing data in session variable is good way ? I am not storing ...
I have developed a PHP session class and tested it using a few examples (see source code below). It appears to be okay. Now I would like to make this session somehow "secure". I found some sample code which is meant to encrypt a cookie (in Courioso's book Expert PHP and MySQL). Here is this code snippet.
Code for encrypted cookie
$cook...
I've been trying to add Facebook Connect to a website, but it didn't seem to get the user id after logging in. So, after a bit of checking around, I discovered what seems to be the problem:
The facebook library expects $_REQUEST['session'] to exist (in the getSession() function), but when I output the $_REQUEST, I get this structure:
A...
I'm renovating an application to work through AJAX. Unfortuantely, the action url in my form is getting messed up somehow. Do you know why this is?
Currently my swfupload param of :
upload_url: $('#new_video').attr("action"),
is returning a
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 302.
SwfU...
Is there a way to set the expiration date for the session cookies created by Authlogic?
...
I have an iPhone application which uses FBConnect to log the user in and also get some extended permissions. Now I need an infinite FB session key to post some info on the user's wall and I am trying to get the offline_access extended permission which seems to be not working.
FBPermissionDialog is not even showing that offline_access pe...
Hello,
Here's a little background, currently i have
3 web servers
one db server which also host memcache for php sessions for the 3 web servers.
I have the php configs on the 3 servers to point to the memcache server for sessions. It was working fine until alot of connections were being produced for reads etc, which then caused conn...
If a user opens 2 web pages simultaneously they will create 2 sessions.
Usually this would not matter but it does create a problem for remember me functionality when attempting to rotate cookie tokens as recommended in the persistent login cookie best practices. There seems to be no way to rotate both cookies correctly where both sessio...
I'm writing a web app using ASP.NET MVC 2 and picked NHibernate as my ORM. I basically learned my basics from watching the Summer of NHibernate series, and have adopted the authors session per request strategy for managing a session (Ep 13). Things seem to work well, but I'm concerned about whether this is a functional real world appro...
In my django app, I have one AJAX view that gets flooded with calls to an update method, which I'll call IncrementMagicNumber:
def IncrementMagicNumber(request) :
number = request.GET['increment']
request.session['magicnumber'] = request.session['magicnumber'] + int(number)
return HttpResponse("OK!")
This works fine for one u...
If I log in to a website with the same user name and password in different browsers then close one of the windows, will the session still exist?
...
I have a problem with timeout.
firstly the timeout happens every 20 minutes on server even if the time in webconfig is set to 120 mins.
second, when the timeout happens it goes to the login page, which is correct but on logging back in it sometimes goes to the default page and sometimes to the page it was previously on. I want it to go...
Hi All,
I'm trying to create a very simple login in php. All i want to do is,
register a session called user if the login is successful and direct the user to an inner page. in that inner page i have a include file which should check if the user session is created or not
if created -> authorize user
if not created -> redirect to login...
but session variables are stored at the server
so how does the server keep reocrd of whose session has timed out.
is any cookie used at the client side?
...
Hi,
I'm having an issue with one user. No matter what he does he ends up getting throwing an ActionController::InvalidAuthenticityToken error. I have tried having him clear his browser's cache, cookies, etc. He gets this using both FireFox and Internet Explorer. I'm at a loss as to why this would be occurring for just him. Everythin...
I am getting this exception when I authenticate a user on facebook and facebook redirects to callback...
Before sending the request to facebook, the session is there but on calling the callback it creates a new one?
I am using MultiActionController of spring and session is the 3rd param of the method signature.
Would I need to use coo...
Hi all.
I have issue about multiple login in asp.net.
Case this happen:
User X login as "user1" in web browser.
Then user Y also login as "user1" also in another web browser.
User Y got error message "Another user log in some account".
That is work as expected.
If X, close their web browser.
Then try again to login in as "user1".
X get ...
I have a 3 layer application using spring and hibernate (controller -> service -> dao) and transaction is applied to service layer. I don't configure OpenSessionInViewInterceptor or OpenSessionInViewFilter and I want to know the hibernate session control behavior. Open session per transaction or per request? Thanks!
...
I want to keep the jsessionid parameter out of the URLs generated by Struts, but can't seem to find a configuration parameter or similar. To be honest, I don't even know exactly at which level this is handled.
Specifically, Struts (or the servlet engine) puts a sessionid in the URL when it's redirecting with a 302 and the session has no...
I am building a Like/Dislike feature. For this purpose I need to identify the particular user liking or disliking the post. I have an idea that without user logins this cannot be done perfectly, but whats the closest to perfect technique, Issues I have are stated below:
Cookies can be cleared, and vary form browser to browser
Most of t...