Hi,
since the new SDK 1.1 is missing the tutorial for "ASPProviders", i am currently asking myself how i would implement a "azure session state provider" ( this is the path in the "old" SDK: C:\Program Files\Windows Azure SDK\v1.0\Samples\AspProviders )
Related threads:
http://stackoverflow.com/questions/1023108/how-does-microsoft-azur...
Hi -
I want to configure my app to use a different schema than the default for storing sessions. Basically, I want the app to store all its active_record objects in app_development and only its sessions in app_sessions. Normally this could be done by defining the sessions db in database.yml:
development:
# ...
sessions:
host:...
Hello,
I have an existing application written in SEAM that uses SEAM Security (http://docs.jboss.org/seam/2.1.1.GA/reference/en-US/html/security.html). In a stateless EJB, I might find something like this:
@In
Identity identity;
...
if(identity.hasRole("admin"))
throw new AuthException();
As far as I understand, Seam injects the...
I have index.php which uploads a file to server and sets several PHP variables (like $target_folder_and_file_name).
index.php also has the following line (it was originally index.html):
<script language="JavaScript" src="main.js.php"></script>
After index.php returned to the browser, the browsers asks for main.js.php from the server ...
Is there a way to set a persistent session that would not expire when closing/re-opening a browser. The cookie that is used to store the session_id expires when the browser is closed.
I know we can make the Auth persistent (stay logged in when we close and re-open a browser). In this case, the cookie does NOT expire when the browser is ...
I think I might be misunderstanding something about Rails sessions, so please bear with me, I might not be phrasing my question the best way.
I'm working on an iPhone app with a Ruby on Rails backend. I have a web view which by default goes to the index action of one controller (and uses sessions), and in the background a bunch of API ...
I want to save the login information of Facebook after closing the application.
So every time when user opens application, no need to login again.
Is done by saving the session object into a plist?
I'm using facebook connect.
Thanks for the help
...
Newly added description: (sorry for not mentioning)
The ApplicationController.current_account is defined as:
class ApplicationController < ActionController::Base
class << self
def current_account
@current_account
end
def current_account=(value)
@current_account = value
end
end
=========
I encountered ...
By default, PHP's session handling mechanisms set a session cookie header and store a session even if there is no data in the session. If no data is set in the session then I don't want a Set-Cookie header sent to the client in the response and I don't want an empty session record stored on the server. If data is added to $_SESSION, then...
I have an Asp.NET 3.5 application with security/authentication. I have a second application (built using GWT and running on Windows Tomcat) running on a different machine.
I need to make the second application available to the user via a link generated from the .NET application. This part is easy, I have constructed the link in the ...
Hi,
I am using Grails 1.2.2 and I got this message sometimes.
It usually happen if I got logged in the apps and the I tried to type url of home apps (http://localhost:9090/apps/)
the error screen grab :
for bigger view : http://img155.imageshack.us/img155/9982/ss20100609025018.png
and the main.gsp code was in http://pastebin.c...
Hello,
I am trying to integrate Facebook to one of my projects. At this time I have successfully integrated Twitter so users can update their status while they are on my website.
There is a one-time login to Twitter and then I store oauth_token, oauth_token_secret, user_id and screen_name so when they login to my site (via my own login...
I am collecting runtime profiling data from PLSQL stored procedures. The data is collected as certain stored procedures execute, but it needs to accumululate across multiple executions of those procedures.
To minimize overhead, I'd like to store that profiling data in some PLSQL-accessable Oracle memory-resident storage somewhere for ...
Hello guys. I've got common mapping
<class name="NotSyncPrice, Portal.Core" table='Not_sync_price'>
<id name="Id" unsaved-value="0">
<column name="id" not-null="true"/>
<generator class="native"/>
</id>
<many-to-one name="City" class="Clients.Core.Domains.City, Clients.Core" column="city_id"
cascade="none"></many-to-one...
I have a login page that uses session variables. How can i set an expire time for a session?
eg: after 15 minutes of inactivity destroy the session.
how can i do it?
...
I want to clear the session on Page unload.
Here is a condition :
If user goes from Page A to Page B of the same site session must not get cleared.
If user close the browser window or Tab(close the site),session must gets cleared.
I have tried using AJAX PageMethod to call server-side procedure to remove session from client side sc...
I'm using ASP.NET Session State to keep track of logged in users on my site.
However, one problem I'm running into is that by default ASP.NET session cookies are set to expire when the browser closes.
I've tried setting my own ASP.NET_SessionId cookie and modifying the cookie's expiry using something similar to the following code:
R...
My session objects are only stored within the request scope on google app engine and I can't figure out how to persist objects between requests. The docs are next to useless on this matter and I can't find anyone who's experienced a similar problem. Please help.
When I store session objects in the servlet and forward the request to a JS...
Hi
We are migrating at work to Internet Explorer 8 and we are confronted to the new "feature" the so called "Session Merging", all new windows from IE8 share the same Session Cookie.
That's creating some problems because we have a Web based system that must permit work in parallel in several windows, but each must have it's own Sessio...
My code in the view:
from django.contrib import messages
messages.add_message(request, messages.INFO, 'Hello world.')
I don't want to show this code to the user the second time if he/she refreshes again. How do I go about doing that? Messages don't seem to have any sort of expiry setting. There is documentation here:
http://doc...