I'm bit confused. I've been building my sites with my own session system, but i'm not sure how secure the php's own session system is. My session system usually just has user id and quite harsh hash, which does not include user name or password for generation. I save the hash in the user database and as a cookie to confirm the user sessi...
I am working with an web application that has its sessions timing out a lot quicker than expected. We expected a timeout of 15 minutes but it's timing out at 3-4 minutes. Info about environment:
IIS6
classic ASP / COM+ app
timeout OK on current PROD, much quicker in dev / QA environments
We already disabled app pool recycling, and even...
I've got a sharepoint site and a custom aspx portal, both under Windows Authentication.
With the same machine, it happens that my sharepoint site returning me my current login, while my custom aspx returning me my domain admin account instead.
Is there anyway that I could ensure both logins are the same? Otherwise, is there anyway to co...
Hello,
i have a problem with Session sharing...
I have a single web application hosted on a server. I created in IIS 2 different domains for the same application (thus each pointing to same physical path). The first domain is used as main interface, and the second domain is used to change settings (kind of like an admin). If the user l...
Hello
I have developed a site for a client with a pre-existing BT hosting package. Since going live there has been a problem where $_session loses it's data between pages. I have previously fixed the problem, but somehow it has become unfixed.
Last time this problem happened, my research indicated that there is something funny with BT'...
to query parameters for eventlies and show-functions?
to store global language options for example?
...
I am building a web application and I need to know whether I can share the Same session or not between http or https?
...
I have social network website that contains thousands of users.
Until now I used the classic way of storing user's details in the session object.
Now, I want to upgrade it, so it will work against Memcached, and the key value is the "userId".
My question is:
What is or where is the best place to keep the "userId" so I can use it constan...
Okay, I have an android application that has a form in it, two EditText, a spinner, and a login button. The user selects the service from the spinner, types in their user name and password, and clicks login. The data is sent via POST, a response is returned, it's handled, a new webview is launched, the html string generated from the resp...
I was trying to decide what is better in a Tomcat+Apache reverse proxy mode for session replication. What is more common on deployments? session replication or stick session? Are there any drawbacks for session replication?
Thanks
...
We have a VB application that needs to run an specific flow on a PHP page.
This application was correctly catching the PHPSESSID cookie and using it for all subsequent requests.
However, PHP wasn't able to restore any changes made on $_SESSION variable.
The variable was changed, saved, and on the next request it was restored as an emp...
I'm creating josi, a web framework for node.js. And I'd like to add session storage. What would be the best way to implement this? I'm assuming it probably has to be cookie based, but I'm interested in knowing if any other frameworks have a different approach.
...
I am having a problem when trying to login.. below is my code for the login
<?php
session_start();
include("functions.php");
connecttodb();
if(!empty($_SESSION['loggedin']) && !empty($_SESSION['username']))
{
echo "already logged in";
header("refresh:3; url=main.php");
}
if(!empty($_POST['username']) && !empty($_POST['passwo...
I have a user logged in.
How can i extend/renew expiry date of session received from the request ?
Thanks in advance!
...
I'm having a session object that does NOT implement the java.lang.Serializable. (its a legacy application, and now I can't go and change the code)
Is there any way where I can store the session object some where and later GET BACK THE SAME STATE in a STANDALONE application.
One thought is to use RMI. Is there any better way of achievin...
Hello,
I'm setting a PHP session variable with a success message for a HTML form that I'm submitting. If there are no form errors, I redirect to the same page (using header()) and display the message from the session variable. Everything is fine until here, but if I access that page again after submission, the message is still there. Is...
With PHPUnit it's quite easy to test raw PHP code, but what about code that heavily relies on cookies? Sessions could be a good example.
Is there a method that doesn't require me to setup $_COOKIE with data during my test? It feels like a hacky way of doing things.
...
I'm using Rack to try to implement "Remember Me" functionality in my Sinatra app.
I'm able to set the session cookie to expire when the session ends or in X seconds time but I'd like to do both.
For example, if a user has clicked "remember me" then I wish for their session to end after X seconds. Eg, my app.rb has a line that looks lik...
Hi,
I've searched the web but haven't been able to find a solution to the following challenge:
I'd like to somehow associate a function that executes when session_start is called independent of the page session_start is called in. The function is intended to restore constants I've stored in $_SESSION using get_defined_constants() so th...
I am using serial port communication in my asp.net webform application...
private bool sendSMS(int portNo, string mobNo, string details)
{
try
{
SerialPort SerialPort1 = new SerialPort();
SerialPort1.PortName = "COM" + portNo.ToString();
SerialPort1.BaudRate = 9600;
S...