Hi all,
I have a question about the webconfig file, where it states the:
<authentication mode="Forms">
<forms name="logincookie" path="/"
loginUrl="UserLogin.aspx?Action=login" protection="All" timeout="180" />
</authentication>
I have a default.aspx file, which is the first page when the user hits the
server folder. The problem I am facing is that the user's webpage will
automatically be sent to the UserLogin.aspx page. How can I set up an aspx
first page that will NOT YET require user authentication ?
Right now I am circumventing this problem by using a .html page as my first
page, which will lead to the start-up aspx page.
TIA,
Andrew 7 1744
<system.web>
. ..
</system.web>
<location path="default.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
--
MY ASP.Net tutorials http://www.openmymind.net/
"Andrew" <An****@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com... Hi all,
I have a question about the webconfig file, where it states the: <authentication mode="Forms"> <forms name="logincookie" path="/" loginUrl="UserLogin.aspx?Action=login" protection="All" timeout="180" /> </authentication>
I have a default.aspx file, which is the first page when the user hits the server folder. The problem I am facing is that the user's webpage will automatically be sent to the UserLogin.aspx page. How can I set up an aspx first page that will NOT YET require user authentication ?
Right now I am circumventing this problem by using a .html page as my first page, which will lead to the start-up aspx page.
TIA, Andrew
<system.web>
<authentication mode="None" />
</system.web>
should work, too.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message
news:eS**************@TK2MSFTNGP09.phx.gbl... <system.web> . .. </system.web>
<location path="default.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>
-- MY ASP.Net tutorials http://www.openmymind.net/
"Andrew" <An****@discussions.microsoft.com> wrote in message news:A3**********************************@microsof t.com... Hi all,
I have a question about the webconfig file, where it states the: <authentication mode="Forms"> <forms name="logincookie" path="/" loginUrl="UserLogin.aspx?Action=login" protection="All" timeout="180" /> </authentication>
I have a default.aspx file, which is the first page when the user hits the server folder. The problem I am facing is that the user's webpage will automatically be sent to the UserLogin.aspx page. How can I set up an aspx first page that will NOT YET require user authentication ?
Right now I am circumventing this problem by using a .html page as my first page, which will lead to the start-up aspx page.
TIA, Andrew
Thanks, it worked
"Juan T. Llibre" wrote: <system.web> <authentication mode="None" /> </system.web>
should work, too. Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ Foros de ASP.NET en Español : http://asp.net.do/foros/ ====================================== "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:eS**************@TK2MSFTNGP09.phx.gbl... <system.web> . .. </system.web>
<location path="default.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>
-- MY ASP.Net tutorials http://www.openmymind.net/
"Andrew" <An****@discussions.microsoft.com> wrote in message news:A3**********************************@microsof t.com... Hi all,
I have a question about the webconfig file, where it states the: <authentication mode="Forms"> <forms name="logincookie" path="/" loginUrl="UserLogin.aspx?Action=login" protection="All" timeout="180" /> </authentication>
I have a default.aspx file, which is the first page when the user hits the server folder. The problem I am facing is that the user's webpage will automatically be sent to the UserLogin.aspx page. How can I set up an aspx first page that will NOT YET require user authentication ?
Right now I am circumventing this problem by using a .html page as my first page, which will lead to the start-up aspx page.
TIA, Andrew
Hi all,
I was just wondering, is it possible to put more than one location path code
module in the web.config file ? If not, then how do I add more than one page
to the location path ??
TIA,
Andrew
"Karl Seguin" wrote: <system.web> . .. </system.web>
<location path="default.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>
Yes you can:-
<location path="default1.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>
or even a folder
<location path="FOLDER"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>
Hope that helps
Patrick
"Andrew" <An****@discussions.microsoft.com> wrote in message
news:75**********************************@microsof t.com... Hi all,
I was just wondering, is it possible to put more than one location path
code module in the web.config file ? If not, then how do I add more than one
page to the location path ??
TIA, Andrew
"Karl Seguin" wrote:
<system.web> . .. </system.web>
<location path="default.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>
thanks
"Patrick.O.Ige" wrote: Yes you can:- <location path="default1.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>
or even a folder
<location path="FOLDER"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location> Hope that helps Patrick
"Andrew" <An****@discussions.microsoft.com> wrote in message news:75**********************************@microsof t.com... Hi all,
I was just wondering, is it possible to put more than one location path code module in the web.config file ? If not, then how do I add more than one page to the location path ??
TIA, Andrew
"Karl Seguin" wrote:
<system.web> . .. </system.web>
<location path="default.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>
No worries and you are welcome
Patrick
"Andrew" <An****@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com... thanks
"Patrick.O.Ige" wrote:
Yes you can:- <location path="default1.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>
or even a folder
<location path="FOLDER"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location> Hope that helps Patrick
"Andrew" <An****@discussions.microsoft.com> wrote in message news:75**********************************@microsof t.com... Hi all,
I was just wondering, is it possible to put more than one location
path code module in the web.config file ? If not, then how do I add more than
one page to the location path ??
TIA, Andrew
"Karl Seguin" wrote:
> <system.web> > . .. > </system.web> > > <location path="default.aspx"> > <system.web> > <authorization> > <allow users="*" /> > </authorization> > </system.web> > </location> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Vai2000 |
last post by:
Hi All, I am calln WS via my aspx application. I am passing arguments an
entire content of a file, sometimes the filesize i.e. the content size
exceeds 4MB. In that case do I have to go and alter...
|
by: Buz Waitz |
last post by:
I have prepared a site on one machine, but when I move the site to the
machine I wish to use as a host, I have problems. If I use a default.htm
file, I have no trouble accessing the site. However,...
|
by: Jim Heavey |
last post by:
I am trying to figure out how to "deal" with placing the connection string
into the webconfig file when the connection string contains " and '.
Here is my connection string...
//...
|
by: brian |
last post by:
I have a webconfig file in my root directory in IIS with
session state set for 100 minutes. All login information
is stored in session variables for the site.
I have a page that is used by our...
|
by: rapaka.srinivas |
last post by:
Hi i am having a problem with dynamic webconfig.What i am doing
exactly is i am calling a fucntion in app_start event that will fetch
connection string from my system registry and updates my...
|
by: Paul W Smith |
last post by:
My application uses two ways to connect to the Access db:
Programtically:
Dim sDBPath = "Data Source=D:\MCCL\AccessDB\NewMCCL.mdb;"
Dim sConnString = "Provider=Microsoft.Jet.OLEDB.4.0;" &...
|
by: jambalapamba |
last post by:
Hi
I am trying to acess my webconfig file in aspx page .I know we can acess in code behind using
ConfigurationManager.ConnectionStrings.ConnectionString;
but i want to acess in aspx...
|
by: =?Utf-8?B?bWFkaHVzcnA=?= |
last post by:
Hi,
Could anyone suggest me an idea to encrypt the webconfig file's connection
string in the framework 1.1.
Thank you in Advance
--
Lets Learn and Make All Learn
|
by: Plasmodium |
last post by:
We have an ASP.NET app. This app has objects defined in some dlls
that the main app on the system uses. If we copy the dlls to the bin
directory that the asp app runs out of, it works fine.
We...
|
by: pavanip |
last post by:
I placed my asp.net code in my server and i placed my database stuff in web hosting server.I created a virtual directory in web hosting server to access my files from my server.I have written the...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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,...
| |