session

Sharing .NET session/authentication with Flex

I have a .NET 1.1 application (VB.NET 1.1 shopping cart) into which a user authenticates. I want to 'bolt on' a Flex application but dont want to have to have the user reauthenticate. They shouldn't know it is a separate application. I want to use WebServices (C# 3.5) over some kind of secure channel. My main question here is how do I...

Are PHP sessions hard to scale across a distributed system?

At work we do almost everything in Java and perl, but I wanted to build out a feature using PHP and sessions. Some peeps thought that it was a bad idea to try to do PHP sessions on our system, cause it's distributed to many servers. What would the specific problem be? ...

Keeping data in session vs. populate on postback

What is preferable, keeping a dataset in session or filling the dataset on each postback? ...

Why do I lose my Session Variable in 5 minutes?

Hi, I have a web page where the user select a Company and with that I keep the Company name in memory though a Session but when I go to the next page the Session only last like 5 minutes? Any reason why and how I can fix this, I did extend the Session state in the Web.config but that did not work. Example: Session("CompanyName") = "Byte...

MVP - Should the Presenter use Session?

I am using the Model-View-Presenter pattern for a web page. Should the presenter be aware of Session or should only the view be aware of it? I guess what I am getting at is that concepts like Session are very related to the architecture of the view so should they be limited to use by the view? Otherwise what would happen if I wanted to ...

Browser back button - does it delete session data?

Does hitting the back button in a web browser cause the session data set in the preceding call to be deleted? ...

Access session of another web application

Is it possible to configure two separate web apps (WAR) in a J2EE application (EAR) to access a shared session context? Further info: I ended up creating a shared class from the EAR which stored the required information in static members. This did the trick, even if it seemed like a dirty hack. ...

ASP.NET removing an item from Session?

Which method is preferred? Session.Remove("foo"); Session["foo"] = null; Is there a difference? ...

How can I add session management to a simple Perl CGI web page?

I have a simple web page that till now didn't need any login. It is programed with Perl CGIs. I would like to know the steps to add session support in order to have the login information available. I don't want very complicated methods, because the web page is very simple. Also I want some recommendations for the technologies/libs tha...

Session management using Hibernate in a Swing application

How do you do your Hibernate session management in a Java Desktop Swing application? Do you use a single session? Multiple sessions? Here are a few references on the subject: http://www.hibernate.org/333.html http://blog.schauderhaft.de/2008/09/28/hibernate-sessions-in-two-tier-rich-client-applications/ http://in.relation.to/Bloggers...

How can I share a session across multiple subdomains?

I have an application where, in the course of using the application, a user might click from virginia.usa.com to newyork.usa.com Since I'd rather not create a new session each time a user crosses from one subdomain to another, what's a good way to share session info across multiple subdomains? ...

How can I share user sessions across multiple domains using Rails?

Is anyone aware of any gems, tutorials, or solutions enabling a user to sign in to a website at one domain and automatically given access to other partner domains in the same session? I have two rails apps running, let's call them App-A and App-B. App-A has a database associated with it, powering the registration and login at App-A.com...

Session is lost with login control in Internet Explorer 7

After logging in using the Login control the browser loses the session. This only occurs in Internet Explorer 7. Has anyone else run into this problem? If so, do you know a work around? ...

Accessing the value of a session variable of a specific session

I'm trying to integrate a public message board service into an existing web site. The handshaking between the apps goes like this: 1) File on my web site loads a flash file. The Flash reads a local variable that is the Session ID, or some other GUID unique to the user session. 2) Flash app connects with the remote service, passing th...

WCF data persistence between sessions

We are developing a WCF based system. In the process we are trying to lock some data from being modified by more than one users. So we decided to have a data structure that will contain the necessary information for the locking logic to execute (by for example storing the ID of the locked objects) The problem we are having is persisting...

SessionID keeps changing in ASP.NET MVC why?

I am trying to keep track of something and using the SessionID as they key to that object However the SessionID every 2-3 reqiests changes shouldn't it remain the same? HttpContext.Session.SessionID Is the code I am using. ...

JSF : How to update one session bean base on another session bean?

I am currently modifying some jsf application. I have two beans. connectionBean UIBean When I set my connection parameters in connectionBean the first time, the UIBean is able to read my connectionBean information and display the correct UI Tree. However when I try to set the connection parameters in the same session. My UIBean will...

How do I check if session cookies are enabled in Classic ASP?

What's an elegant way in Classic ASP to check if session cookies are enabled in a user's browser using server side code (because javascript might be disabled as well). I have a solution of my own but it looks ugly as hell. @James - that doesn't differentiate between setting a session cookie and a general purpose cookie though (IE lets ...

Question about WCF Reliable Sessions

One of the things that the Microsoft documentation says about enabling reliable sessions is that the service will be able to process messages in the order that they were received. Does this mean that messages within a single session are processed in order? Or does it mean that all messages for all sessions within the service are process...

How to test User Control with unit that relies on the Session object

I'm using ASP.NET to build an application and the latest version of NUNIT framework to test it. I'm constructing a User Control to build a custom menu. That control at some point checks whehter a specific object exists in the Session Collection or not to add some elements to the menu. The exact functionality it provides is this: if the ...