Hello guys,
my code is a bit messy so I'll try to explain to you in words:
I have this index.php page that shows a random file from my files table in my database. People have the opportunity to rate these files by clicking on notes that open "vote.php" through a small AJAX pop-up.
Now here's the problem. On index.php I pull the ID fro...
I have a Silverlight application using a WCF service hosted in IIS. I make use of some aspects of ASP.NET.
I have the following folder structure for my application:
inetput
wwwroot
myapp
reports
{user-guid-folders}
report1.pdf
report2.pdf
App_Data (folder)
bin (folder)
Client_Bi...
Hi ,
I have one issue related to session id, in my application i am removing all session attributes and invalidating the session, then recreate the new session and assign old values. but in this scenario always gives the same session id. The reason for doing this is that session hijack they get the old session id and hack the applicatio...
I have a website running on Apache Tomcat 6.0.26. Each user has his own profile. Several days ago one user changed his profile, but another user's profile has been changed. This thing happened only once in 3 month. Is there any problem with sessions(session was swapped or something like that)?
...
Hello.
There is a problem with session variables in my web-application. I have several types of documents, when user want to edit it, he pushes a button and php record number of document to $_SESSION['patent_number'] via GET method. All fine when launch application. I test it with 2 documents with 2 different numbers. In the begining al...
I am just beginning to start learning web application development, using python. I am coming across the terms 'cookies' and 'sessions'. I understand cookies in that they store some info in a key value pair on the browser. But I have a little confusion regarding sessions, in a session too we store data in a cookie on the user's browser.
...
I'm trying to get the previous page URL after I do a response write and i've looked around the web and people are using HTTP_REFERER but that doesn't work with Response.Redirect so is there anyway to get the URL of the previous page?
I have this code on a few pages and i need to know which page it is coming from when it gets to the serv...
I am developing a Java web application that will run on a secure intranet and does not require a user login. The application does, however, keep conversational state in an HttpSession. User input is not persisted to the database until they explicitly click a save button at some stage in the conversation. Until then, their input is retain...
please help me . Thanks in advance
...
Hi all,
Where will be the session value will be store in PHP.
For example, cookies will be stored in browser as well as where will be the session value will be store.
thanks in advance...
...
Hi,
I am writing an asp.net MVC 2.0 application, and I need to get username after the user logs in and pass it to other function. I tried that by simply modifying the standard LogOn method for AccountController, here is my code:
[HttpPost]
public ActionResult LogOn(LogOnModel model, string returnUrl)
{
if (ModelState.I...
Using the code below in the index.php file of a WP template:
require_once '/Users/xxx/Documents/Projects/honora/trunk/app/Mage.php';
umask(0);
Mage::app('default');
Mage::getSingleton('core/session', array('name' => 'frontend'));
Mage::log(Mage::helper('checkout/cart')->getCart()->getItemsCount());
should in theory give me the number ...
I have created a sign-up and login for my website and all validation works fine for both sign-up and login. After user provides valid credentials he/she is logged into the member area with a welcome message that says Hello first_name last_name.. basically first name and last name is grabbed from database.
Any what I want to do is restri...
Having a bit of a problem with my hosted ASP.NET applications. I noticed slowness when opening pages, the kind of slowness that you see the first time you start up an ASP.NET app. After researching, I'm finding that the Application_End event is firing shortly after the application starts, apparently killing the sessions, static values, e...
Hello Dear,
I'm needing a lot of help from yours.
I have an application in ASP, not ASP.NET ... Which uses several COM+ components developed for me.
Below is an example of using one of the components.
Dim componentXPTO
Dim xpto
componentXPTO = Server.CreateObject("NAMESPACE.XPTO")
Set xpto = componentXPTO.myFunction(variables)
Set...
Hi,
In my application I am using a custom httphandler. In this handler I have written this code:
static void Application_PreRequestHandlerExecute(object sender, EventArgs e)
{
try
{
HttpContext.Current.Session["MyKey"] = "X";
}
catch (Exception ex)
{
throw;
}
}
Now when I try to access my site...
When a user log into my asp.net site I use the following code:
FormsAuthentication.RedirectFromLoginPage(userid, false);
As I often need to use the userid I can then later get the userid by:
string userid = System.Web.HttpContext.Current.User.Identity.Name;
Now I also want to show the logged in username on each page and my question...
Ok, so this is the weirdest bug I have ever run into, hopefully I can explain it well enough.
so, if you go to Seaandbescene.com then click on one of the province links at the top(nova scotia, newbrunswick, etc.) then click one of the categories below(entertainment, shopping etc..) it should remember what province you are in because I s...
Hello everyone,
I'm trying to break the question down to something simple.
I use nhibernate to get a list of entities via a criteria call. After that I'll update some entites and add one entity which I save (session.SaveOrUpdate(entity)).
When I get a list with a criteria again I do get the entities that were changed (with changed valu...
Hello,
I'm having a problem of losing session variable on my website. It append at random times so there is no particular behavior that cause this. What can be the cause of this session lost?
I've read everywhere on this site that I could put my session in "sql server" mode so everything is written on the server, can it be a solution?
...