I'm trying to check to see if the user is logged in on every page, if not redirect them to the login page. So that you can't just paste the page in and view it. I'm not really sure how to go about it. ...

When we moved our project from the beta test server to our live server we experienced the following:
Session variables are only accessible if the file accessing them is in the same folder as the file ...

How do I to store a exception error message in a session? I tried something like below, but the execution is interrupted with exception message and don't set my SESSION.
catch(MyServiceException $e) ...

I'm working on a ASP.NET Web Application which will allow conducting examinations and examination would be 4 hours long so worried to store the time count and answers selected for such a long time.
...

Ok so my issue is as follows:
I have a cookie policy banner that loads at startup. I have since programmed a "hide" feature with jquery which fades the banner away when the text is clicked. All works ...

If anyone knows in which file/database, the mapping of session id to session variables are stored in case of django, vb.net and JSP.
For ex - In PHP, we have the informations stored at /var/lib/php5
...

im developping a bookstore in Mule ESB and i need how can i read a session variable in java. My case is i query on my MYSQL the price of the book. I save this result in a session variable. To print ...

I am trying to run my little test script, a login panel with PHP.
I want the index.php has a public part that anyone can view, but when a user logs should see the public page plus other data that I ...

I am using web.py and trying to get the login working. I want to use a the session for when I login so that on next page reload I could display profile information.
The following code is for trying to ...

have setup a referral code system for the company website, I am trying to auto store the code as a cookie so if they do not register on their first visit we will remember who referred them since you ...

A user submit a form and goes from page_0.php to page_1.php. Then goes through a link from page_1.php to page_2.php. If the user want to press the "back" button from the browser, How is it possible to ...

I am trying to set a session attribute before doing a redirect and I dont know how to make it work.
@RequestMapping(value="/votarEncuesta/{id}")
public String irAVerResultados(@PathVariable Long id, ...

My application's session is ending abruptly and I can't determine why. I've added significant logging throughout and there is no particular page causing the session end. I can see the session start ...

Im developing a sample bookstare in mule esb and Im using mysql as database. My database has a table named 'Stock' whose has 2 attr (isbn and quantity) for the registered books I offer on the form. ...

I am trying to start a session in PHP in order to store data about a user ID (which will be used in mySQL DB).
However when I start the session I get the following errors:
Warning: session_start(): ...

So I'm passing a session with a value of "1" after a user has voted and it displays a thank you for voting message. It works great in all browsers except for chrome. In Chrome it never displays but ...

I'm making my first foray into sessions in PHP. I want, for example, to create a link to a page called phonemessearch2.php that loads that page and sets the variable phon1 to "M", phon3 to "L", phon4 ...

I'm a bit stumped as for an answer to this one.
I have a registration form, and if there is a problem with a form input when it gets checked I'm saving a message to a session variable then checking ...

Basically I want to check if a number is set, if not set, set it, else increment the number and set the incremented number, if the maximum number (12) is set, exit and throw an error. The logic seems ...

I am trying to create a imagegif in a PHP file. In this file, I want to call a session array to create a gif/Chart. But when I use the variable, it does not work, without the variable it works. The ...

I have a problem with an coworker's asp.net application, when UserA browses the page and he log in, his name are stored in a variable inside a module, so when UserB visits the page (without logging ...