I call invoke.php using CURL from curl.php from my localhost. In invoke.php i store some data in session. But when i try to access those session data from curl.php, don't get those session data. How i get those values?
Content of curl.php
`include_once ('session.php');
$handles = array();
$urlArray = array('http://localhost/invoke.ph...
Hi,
I use a content management system called liferay that lets you add iframes to a page very easily. I have various different iframes that i want to use the same php session variables. This wouldn't be an issue if the main webpage was setting the sessions. the problem is the sessions are created in one iframe and I'm wanting to use the...
I have an issue with my Facebook canvas iframe application.
I'm using sessions to build a simple questionnaire-style application. There's a question on each page, when the form is submitted the answer is stored in a session array, and the page number is incremented by one, which then displays the next question. Simple stuff.
This app, ...
We're currently building a Webapp that serves multiples subdomains (wildcard subdomain). In our app, users may be authenticated for one or many subdomains (just like Basecamp does).
We want to know what's the best strategy to save and load users credential. The main problem is that our users may have differents roles in differents s...
How can I access the Session State created from a Client(Website) to my Web Service Proxy site?
Services Interface Proxy
public class SessionService : System.Web.Services.WebService
{
[WebMethod(EnableSession=true)]
public string GetSession(string key)
{
return HttpContext.Current.Session[key].ToString();
}
}
Website hostin...
I'm a php programmer who's just getting started with Python. I'm trying to get Python to handle login/logout via database-stored sessions. Things work, but seem inconsistent. For example, sometimes a user isn't logged out. Sometimes users "switch" logins. I'm guessing this has something to do with thread-safety, but I'm just not sur...
Hi,
I'd like to authenticate users with the help of stored procedures. Here's what i've got so far...
DELIMITER |
CREATE PROCEDURE authenticateUser (
IN uname VARCHAR(64),
IN passphrase VARCHAR(32)
)
BEGIN
SELECT u.id FROM users AS u WHERE u.email = uname AND u.pass = passphrase AND u.active = 1;
END
Now I'd like to add another fea...
Hi friends I am stuck with a program logic in array. Basically, what am trying to do is that
I have link that says "Unlock answer" use clicks on this link and then I get the request id and unlock the specific answer. But I have other answers there which needs to be unlocked.
And user again and again clicks on any answer to unlock. But am...
Hi, I have a site that runs on IIS7.5 hosted on a windows 7 workstation (Too keep costs down) - its a touchscreen information stand
Now the site runs lightning fast loading pictures (resized using graphics class), ajax queries to load up images from onmouseovers, and it runs like lightneing until I do anything with sessions (1 page uses...
I'm setting a Session variable with an ajax call. I've tried both by using the helper and by using the straight PHP $_SESSION syntax. For some reason, whenever I reload the page, all SESSION data is gone.
What is annoying about this, is that it happens sporadically. I thought at first, it had to do with the browser I was using, but it ...
I have a LoginControl that works great, however, I want it to store more information than just being authenticated or not. I would like to store the UserID of the user so when they make changes I can call that UserID and record that they made the changes.
Here is my code.
Dim db As New DataClassesDataContext
Dim User = (From ...
I have a handler, like this, using IRequiresSessionState:
public class MyHandler : IHttpHandler, IRequiresSessionState
{
// code
}
In the code, I am able to read and set Session values. I also check ensure that the caller is logged in. That all works fine.
The web site uses forms authentication, so in the web.config, I have this:
...
Is it true that asp.net MVC doesn't use SESSIONS [Sessions varibale] and hence there it's performance is better than asp.net webform.
if this is not the case then why the speed of asp.net MVC is faster than asp.net webform?
...
i am creating session while rendering the page. After that i am calling the AJAX page every 4 seconds. the AJAX page doesnt gettign the Session information.
What may be the reason. Whether ajax requests dont maintain Session information?
Code:
Normal HTML
<body onload="timerint(11)">
<div style="display:none;">
<button id="prev">...
Hello,
I have a Session class that has all my on_session_write, on_session_read etc. methods inside the class. In my constructor function i have it initiate the
session_set_save_handler("on_session_start", "on_session_end",
"on_session_read", "on_session_write",
"on_session_destroy", "on_session_gc");
and also s...
i have the following code:
if (!isset($_SESSION)) {
ob_start();
}
$_SESSION['views'] = 1; // store session data
echo $_SESSION['views']; //retrieve data
i tried to break it up in 2 parts like this:
//Page 1
if (!isset($_SESSION)) {
ob_start();
}
$_SESSION['views'] = 1; // store session data
.
//page 2
echo $_SESSION['views']; //re...
I read about session security eg. Session Fixation, Hijacking & Injection but am confused about the workings of session security. The way I usually do it:
// when user logins,
$_SESSION["user"] = "someuser";
// check user login
if (isset($_SESSION["user"]) && !empty($_SESSION["user"]))
Maybe I am doing it wrong, but I don't have Ses...
Please bare with me, I'm very new to asp.net.
I'm building a web app that to build a report, but there are too many arguments to give each one a name, and I want to save them indexed by numbers so I can handle them with loops later on throughout the application.
However, I'm getting an index out of range on the very first session item(...
What a some possible solutions to best implement Janrain Engage (RPX Now) on Google App Engine?
...
I have a web-application in java, spring framework, hibernate on tomcat, that has basically almost no security except the login and logout functionality (no spring security)
I can access the user information in a controller by:
// where request is HttpServletRequest
HttpSession session = request.getSession(true);
SystemUser user =...