|
by: Luke Smith |
last post by:
i have the following code in counter.cs but i get errors regarding request,
application, session. I know im missing something but dont know what it is.
thnx
using System.IO;
namespace luke_smith
{
/// <summary>
/// Summary description for counter.
|
by: Francois |
last post by:
I have the following ASP.NET page :
<!-- event.aspx -->
<%@ Page Language="C#" %>
<html>
<script runat=server>
protected int counter;
protected void OnClickMyButton(object src, EventArgs e)
{
|
by: Dinkster |
last post by:
BackGround:
- We are new to ASP
- We thought we would experiment with using the session object (in proc) to store a small amount of data.
- We get different results when cookieless is set to "true" veses "false".
- Our simple test app involved updating a counter that was stored as an item in the Session Object. We allow resetting the counter...
|
by: D. Shane Fowlkes |
last post by:
This is a repost (pasted below). Since my original post, I've double
checked the system clock and set all IIS Session Timeout values to 10
minutes. Still ...the problem occurs. I've also installed Deep Metrix Live
Stats 6.2 XPS just to make sure nothing really strange was going on was
going on. Still....the sessions only increment...or...
|
by: Brian Ciarcia |
last post by:
Can someone please take a look at this code and tell me what I am doing
wrong???
I am getting the following error:
----------------------------------------------------
Object reference not set to an instance of an object.
--------------------------------------------------
at this line:
|
|
by: Calvin KD |
last post by:
Hi everyone,
Can someone suggest a way of monitoring the number of logins for each user
in a particular session to make sure that a particular user cannot log in
twice in the same session? I have thought of using Application-level counter
or even store the counter in the database but it will not work (100% of the
time that is) when the user's...
|
by: tshad |
last post by:
I have been using the default session state (InProc) and have found that I
have been loosing my information after a period of time (normally 20
minutes).
Is there anyway to find out how much more time I have on a session?
If I do a refresh, does reset the session clock?
Do you have have to go to another page to reset the session timeout...
|
by: MC |
last post by:
I would like to display a timer in the corner of the page that shows the
user how many minutes:seconds till the session times out. Are there any good
examples out there?
Google has again failed me ;)
MC
|
by: tedpottel |
last post by:
Hi
I cannot get sessions to work.
I have the following code
</body>
<?
session_start();
$counter++;
print "You have visited this page $counter times during this session";
session_register("counter");
|
by: ndedhia1 |
last post by:
I am reading in a file to see what delays I am getting on what IP address:
QuoteBlockTiming exceeded 1000 ms: 1684 --- Fri Nov 06 06:09:10 CST 2009 170.137.94.95 Class key = 649126730 block size = 1 session = W_MAIN
QuoteBlockTiming exceeded 1000 ms: 1640 --- Fri Nov 06 06:09:18 CST 2009 170.137.94.2 Class key = 649126749 block size = 1...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|