session

Session is transparent from user.

Hello Experts, Can anyone tell me what is the meaning of "Session is transparent from user.". I want to know that how Session transparent from user. ...

Could we use session to create a global variable for all client?

I saw this example in php manual page http://www.php.net/manual/en/session.examples.php The example will create a global session for all client. Can I use this example to create some global application for all client, instead of save it to DB or local file. What're the pros and cons of this method? Thanks for any help. ...

Accessing State in ASP.NET

Is System.Web.HttpContext.Current.Session the same as System.Web.UI.Page.Session ? Many thanks in advance. ...

Zend Auth locked session

Hi there, i nearly frustrated with how Zend handling session. here is my case. i write a auth plugin that always check the the user credential utilize Zend_Auth. and when invoke hasIdentity function from zend auth, it will automatically start the session. and the problem come when i have a long process that i need to execute. the sess...

User Login & Sessions :Safe or Not

DB table: login_info -------------------------------------- | login | passwd | company | -------------------------------------- |company1 | passmd5 | company1 | -------------------------------------- |company2 | passmd5 | company2 | -------------------------------------- |company3 | passmd5 | company3 | -----...

Mvc2 areas and session

Do Areas in Mvc2 have session isolation or do they share the same session as the rest of the application for the same user. ...

How do I access the session in order to do a rewrite?

I'm trying to use the HttpContext.Current.RewritePath method to serve up different versions of an application to different customers. I would love to be able to look at the HttpContext.Current.Session object to know who it is making the request. Oddly when I go to look at this at the BeginRequest handler, the Session always shows null....

Can a Flash SharedObejct expire per session?

I'm trying to display certain content per session, but the site has the same Flash embedded in the different sections of the site, so I can't set it on the site's Model or a Global Variable. I also can't use PHP or JS. ...

What Query should i use in Hibernate to fetch POJO?

I learnt Hibernate and used it to reduce my Java code to a vast extent and also able to reduce the time spent for DB's. Now what type of query should i use to finish my operations for getting a DB list to be displayed, to update and delete. My code for deletion is String newToken = "DELETEUSER"; if(!TokenManager.checkRoleToken(newTo...

Could aggressive proxy/cache server be causing session problems?

I have a question regarding whether incorrectly configured proxy/cache servers might be the cause of an odd problem I have seen in my web application. The application is LAMP based, and run off a single host, and the service is used from a number of different countries. Sessions are used to manage user interactions. While this appli...

PHP Session Management - Basics

i have been trying to learn session management with PHP... i have been looking at the documentation at www.php.net and looking at these EXAMPLES. BUt they are going over my head.... what my goal is that when a user Logs In... then user can access some reserved pages and and without logging in those pages are not available... obviously t...

PHP - make session expire after X minutes

i am using the following technique... From the login.php the form posts to the page check.php where i do this <?php $uzer = $_POST['user_name']; $pass = $_POST['user_pass']; require ('DB_connection.php'); $result = mysql_query("SELECT * FROM accounts WHERE user_Name='$uzer' AND user_Pass='$pass'"); if( mysql_num_rows( $result )...

Session variable or if-else error in MVC?

I have faced a strange and very peculiar situation while storing a session variable in a controller. A simple if-else condition has not been working. I checked to see if there were any threaded applications accessing the webservice, any extra instance which was consuming the requests. None. And just for a simple explanation, below is wh...

Session variable getting lost?

Given this Global.asax.cs: using System; using System.Web; namespace Foo.Web { public class Global : HttpApplication { private const string IntroductionPageShownSessionKey = "IntroductionPageShownSessionKey"; protected void Application_AcquireRequestState(object sender, EventArgs e) { ShowIntroductionIf...

Cucumber: how to switch sessions in Rails (multi-session)

I need to change session during one cucumber scenario. For example Given session name is "1st unauthenticated user" And make some things Given session name is "2st unauthenticated user" And make some other things I found a solution, but it doesn't work with Rails 3, Cucumber and Capybara. Are there any other solutions? ...

Log out everywhere, where else I am logged in

I currently use PHP sessions as the basis of my user login system, with a successful login setting $_SESSION['userid']. This allows a user to log in to the same account from multiple machines. However, I'd like to implement the following features: Log out everywhere, similar to what Stack Overflow has. See where else one is logged in....

free implementation of counting user sessions from a web server log?

Web server log analyzers (e.g. Urchin) often display a number of "sessions". A session is defined as a series of page visits / clicks made by an individual within a limited, continuous time segment. The attempt is made to identify these segments using IP addresses, and often supplementary info like user agent and OS, along with a session...

Google Apps Engine / Django, calling action upon user login?

I'm new to Google Apps Engine (working on an existing project for someone else) and it seems a bit different than Django as far as the login as the login is handled by Google, I'm trying to make it so the app creates a custom cookie for a user upon their logging in but can't seem to find the handler for the login action... I apologize fo...

Google App Engine, Python, deleting a cookie or changing its value?

I've been searching on this but can't seem to figure out how I can delete a specific cookie using Google Apps Engine, Python version. I am setting the cookie like below and I need to update its value, I figure I may not be able to update and just need to delete and re-create but can't seem to find the way to do that, I am creating it as ...

How often session replication happens in JBoss Clustering?

Is session replication configurable in JBoss? How and where to do it? ...