|
We have a page of search results which the user can hit in several ways. 90% of the ways will set up a 'Search Criteria' session object, which the results page will use to retrieve the search results.
When the session object isn't found, we will typically...
Started by Jeff on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It's simple and easy and will likely work for....
Here (Page 2 of the second article specifically)
All the browsers will return the expired session from bnkdev uses this fact to detect new vs expired by seeing if the cookie is already set.
|
|
I am new to Selenium. I generated my first java selenium test case and it has compiled successfully. But when I run that test I got the following RuntimeException
java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser...
Started by Yatendra Goel on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Failed to start new browser session: Error while launching browser
what's weired in my case:
SeleniumServer seleniumServer = new SeleniumServer(); seleniumServer.start(); Thread.sleep(2000); Browser browser = new Browser(....
|
|
I'm using Castle ActiveRecord for persistence, and I'm trying to write a base class for my persistence tests which will do the following:
Open a transaction for each test case and roll it back at the end of the test case, so that I get a clean DB for ...
Started by Alex Scordellis on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Not too sure about ActiveRecord, but in NHibernate a transaction belongs to a session.*, and what FlushMode your SessionScope has) is that your call to FindAll() may cause the session to flush of creating a new SessionScope ?
Using....
|
Ask your Facebook Friends
|
I'm hoping someone can clarify this behavior for me, and explain how ASP.NET is deciding when to treat something like a new Session.
A) In Internet Explorer I load the ASP.NET site in question. It starts a new Session.
B) If I go to menu File - New Window...
Started by tyndall on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
A new IE instance does not have the session cookie, resulting in a new sessionI'd wonder if the new IE instance would have the same cookies that happen in case B, where while it is a new window it is....
Through cookies.
|
|
I'd like to create an administrative page to show that our use of session state isn't getting out of hand.
Is it possible to retrieve a list of all active sessions, and if so, how can I access all of the session data in each session?
Started by Bob on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Also by persisting the session state....
However by implementing membership provider you could know if a session is active and many other useful information about user's activities.
Session's cant be accessed from another session.
|
|
Hello, i've implemented this custom PHP Session Class for storing sessions into a MySQL database:
class Session { private $_session; public $maxTime; private $database; public function __construct(mysqli $database) { $this->database=$database; $this...
Started by Gianluca Bargelli on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Var_dump(session_id()); if (session_id()=="") { if ($_GET["sessionid"]) { session_id($_GET....
Maybe you need to start a session first?
I have had it before where sessions don't seem to persist and if not set it manually.
|
|
I'm trying to use the built-in .NET session handling to share sessions across multiple ASP.NET applications. I can't use a custom session implementation.
I have multiple web servers, each with its own hostname, configured to point to the same codebase...
Started by Nate Cook on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Session should not be shared across different for sharing of session....
The new out-of-process model allows all servers in the farm to share a session state in a database to which all of your ASP.NET apps have access.
Problem.
|
|
I am new to ASP.NET. I am creating a website in which i have to create session for every user who gets login into the site. Now I am not been able to picturize how to store session in my database.
I read few books for the same and got how to configure...
Started by Shantanu Gupta on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
See HOW TO: Configure SQL Server to Store ASP.NET Session State
Basically, you have to configure need to store the session ID in the database -- that part is done for you by the runtime, assuming that you're using sessions in SQLServer....
|
|
Basically I have a remote screen session, which I wish to automatically reattach to.. Currently I'm doing this by with the following command (as an iTerm bookmark, or an alias)
ssh host -t screen -x thesessionname
This works fine, but if the session dies...
Started by dbr on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
If necessary detach and logout remotely first
That will attach to the first... .
The very first (-x this means: If a session is run- ning, then reattach.
To attach to an existing session, and creates a new one if there's nothing there.
|
|
Hi
I'm relatively new to CodeIgniter and am making my first CI project in which there are user-accounts, etc. In the past, I have always used PHP's $_SESSION variable to this end. However, CI seems to have its own session mechanism, which it claims is...
Started by Mala on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Whatever, you can also save session....
session class is that it integrates with the framework and it offers a few extra functionality, such as IP address tracking and what it calls flashdata (session data that's erased as soon as it's read.
|