Hello all,
I really like to use spring stereotype annotated beans in spring MVC apps and would like to use Spring scope annotations to the full extend. No more need to fiddle around in HttpServletRequest or it' s session.
One thing isn' t really clear to me though and maybe someone could provide me with some insight or explanation on ho...
I'm using gae-sessions. How can I retrieve a session using only its session identifier (SID)?
Update for response @David Underhill:
I've done what you told but in debug mode I got this:
Session: SID=None {} | but it has db_key populated with a string
Here is my code:
upload.py
SID = self.request.get("SID")
if not SID:
...
Updated question to make it more clear
I understand that you can set the domain of your session_store to share sessions between subdomains like this: Rails.application.config.session_store :cookie_store, :key => '_my_key', :domain => "mydomain.com"
in Rails 3, what does the setting :domain => :all do? It can't let you share sessions ac...
Hi,
Is it correct to say that using JTA Transactions with Hibernate contrasts using the Open-Session-In-View with regards to the session scope?
From what I've been able to gather the Session scope in the JTA Transactions is a transaction (mainly based on this link) while in the Open-Session-In-View pattern the session's scope is the requ...
I have two mysql database tables:
1) CARS TABLE: with following columns
i)car's name
and
ii)manufacturer's name.
2) RECORDS TABLE: with the following columns
i)name of the user
ii)rating given
iii)car's name.
Now i want the each user to give rating( rating will be a text input box) to each and every car in two ways.
1) ONE BY ONE: ...
I need to implement a system to limit the number of users that can concurrently use my app. I am thinking the best way to go is to count the number of sessions currently active and then limit based on that.
How can I count the number of sessions currently active. I am using memcached to store my sessions if that makes a difference
...