|
by: Ross Dempster |
last post by:
Hi everyone, this is quite involved but if anyone can help (or just
likes a challenge!) i would very much appreciate it.
Quick intro :
I have forms based authentication (though i do it manually - not with
the built in gizmo). The session times out after 30 minutes.
The problem :
User may take longer than 30 minutes to fill out the form. They would
need to log back in on submission - but if I redirect then they loose
|
by: Peter Row |
last post by:
Hi,
To allow users to upload files larger than 4MB in size I added:
<httpRuntime maxRequestLength="102400" executionTimeout="600" />
...to my web.config file. Fair enough this works fine. However how do
I check the maxRequestLength value through code?
Let me set a bit of background. I don't actually have any ASPX pages I have
|
by: Peter Jaffe |
last post by:
I had noticed a number of people posting that they where having
trouble getting the Web.config httpRuntime executionTimeout attribute
to work as expected.
I realized today that if the compilation debug attribute is set to
"true" in the configuration, then the framework doesn't seem to
timeout requests (probably because this might be annoying if you had a
debugger attached and were stepping through code).
It would be nice if the MSDN...
|
by: Random |
last post by:
I am running some threaded operations within my ASP.NET app, in order to add
some data to the Cache. I know enough to use the HttpRuntime.Cache instead
of the HttpContext.Cache, but my operations need to reference a file on the
server. Normally, I'd use Server.MapPath to get the file reference, but I
can't do that within the thread. What can I use instead?
I'd tried using Server.MapPath in Application_Start to give it to an...
|
by: sa.cesare |
last post by:
Is there any means to get httpRuntime section in Page_Load()?
WebConfigurationManager.GetSection("system.web/httpRuntime") returns
some kind of RuntimeWrapper(nowhere documented) instead of
HttpRuntimeSection.
Thanks.
|
|
by: Bishop |
last post by:
I have googled to try and find an answer to this issue, but everything I
found
beats around the bush.
I have a web service that calls a DLL. In the DLL, I want to cache the small
table
data into server cache rather than hit the DB each time, since the data does
not
change for at least a day.
|
by: Jose Fernandez |
last post by:
Hello
First of all, sorry for my bad english ;)
I have a USER class that i create to every user that enters the website (not
neccesarily logged in). At the same time i insert it into a the
HttpRuntime.Cache if it doesn't exist.
In every request i verify if the user is in the Cache so i don't have to
create it again. If it exists, i instantiate an USER object with the Cache
object already saved.
this is more or less the idea
|
by: |
last post by:
Is it advisable to store my own data as XML in the folder returned by
HttpRuntime.CodeGenDir?
(i.e. in "Temporary ASP.NET Files")
Each web service on the server must try to read its own cached file when it
(re)starts.
If it 's not present, it retrieves it from a remote service and caches it
locally.
If it's not advisable, what is the "best practice" for caching global
|
by: =?Utf-8?B?emlubw==?= |
last post by:
in asp.net 2,
I load a dataset from the Cache object into a local object to use to perform
processing. I had been using httpcontext.current.cache and what I noticed is
sometime I'm not able to get the dataset out of the cache.
the application is under heavy hits, and is set to email me on every error.
and once or twice every month I get these error e-mail about this issue.
why does the HTTPContext.Current.Cache call work sometimes, while...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|