|
by: Maziar Aflatoun |
last post by:
Hi,
I'm trying to protect one of my subfolders from Web.config file in my root
folder. Here is my directory structure
/ // My shopping cart
/admin // Shopping cart admin which needs to be protected
Now in my Web.config how can I protect just the /admin folder (which is not
a virtual directory) it's simply a folder in my / folder?
|
by: tommy |
last post by:
hello everbody,
i write a little asp-application with forms-authentication.
i copy my aspx-files with web.config to my webspace and i get the
error above...
i tried to set the custom-errors-tag ="off"
but nothing happens....
what is my failure????
|
by: Adam Getchell |
last post by:
I'm attempting to write a custom Authentication module using http://www.15seconds.com/Issue/020417.htm
I looked at http://support.microsoft.com/default.aspx?scid=kb;EN-US;307996, but it doesn't setup things the way I want (ie, I want to integrate into an existing web application).
So I want to deny unauthenticated users access to everything except the default page.
I have an error in web.config. When I comment out these lines:
...
|
by: TPS |
last post by:
What is the best way to read values from the web.config file.
I know how to read from the appSettings section, I want to read from other
sections like those listed below.
Thanks,
TPS
<customErrors mode="Off" defaultRedirect="/Pages/customerror.aspx"/>
<authentication mode="Forms">
|
by: Ben S |
last post by:
we have a webapp using form authentication, and the time out is set at 120
minutes, so whenever a session is idle for > 120 minutes or so, it will make
the user sign in again.
This seems to be working okay on my developement machine (xp sp1) and on our
staging machine (win server 2003). However, on our production machine
(window 2000 server with latest SP). it times out some where between 20-30
minutes.
We are using sqlserver to...
|
|
by: SMG |
last post by:
Hi all,
I have two webservers to run my site, with a load balancing software.
Question 1 :
I am using following setting in web.config file of both the servers.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false" timeout="20" />
|
by: sri_san |
last post by:
Hello,
I was unable to find a concrete pointer as to the precedence of
IIS, Web.config when it comes to timeout. Say, IIS has a timeout value
set different from that of web.config, which one is considered?
Besides, could anyone differentiate the timeout attributes between the
lines marked with astericks?
<sessionState mode="InProc" cookieless="false" timeout="180"/> **
|
by: Benny Ng |
last post by:
Hi,all,
How to let the sub-directory to avoid the authentication control from Root's
webconfig?
I heard that we can add a new web.config to the sub-directory. And then we
can slove the problem.
Virtual directory is £ºhttp://localhost/main
Sub-directory is : http://localhost/main/reminder
|
by: Andrew |
last post by:
Hi,
I have a default.aspx which allows the user to choose between module Admin
and module B. When the user clicks either one, he will be redirected to a
FormsAuthentication login page. The problem I have is that currently, users
of one module are able to access the other since I have only 1 login page.
How do I prevent this ?
I am not sure how to go about configuring the web.config file for having 2
modules that have a separate set of...
|
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: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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: 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: 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
|
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...
|