473,394 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Q: it goes to default.aspx

Hello,
I have a logon.apsx page and when I clicked LogOff button, user is directed
to this page. For the first login user is able to go to myApp.aspx through
logon.aspx but once he/she logs of and try to login again system tries to
direct it to default.aspx and I do not have this kind of page. How can I keep
myApp.aspx as permanent page after login.
Thanks,
Jim.

Nov 19 '05 #1
4 1492
How have you implemented your 'log off'? What authentication method have
you specified in the web.config file?

Usually default.aspx is the first page a user will see when they enter a url
to a site without specifiying a particular page.

MattC
"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:F9**********************************@microsof t.com...
Hello,
I have a logon.apsx page and when I clicked LogOff button, user is
directed
to this page. For the first login user is able to go to myApp.aspx through
logon.aspx but once he/she logs of and try to login again system tries to
direct it to default.aspx and I do not have this kind of page. How can I
keep
myApp.aspx as permanent page after login.
Thanks,
Jim.

Nov 19 '05 #2
here is my authentication mode:
<authentication mode="Forms">
<forms loginUrl="logon.aspx" name="adAuthCookie" timeout="60"
path="/"></forms>
</authentication>

log off brings me to the logon.aspx, but next time login takes me to
default.aspx.
First login does not have a problem. So, if I close IE and come back, I do
not have a problem.

"MattC" wrote:
How have you implemented your 'log off'? What authentication method have
you specified in the web.config file?

Usually default.aspx is the first page a user will see when they enter a url
to a site without specifiying a particular page.

MattC
"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:F9**********************************@microsof t.com...
Hello,
I have a logon.apsx page and when I clicked LogOff button, user is
directed
to this page. For the first login user is able to go to myApp.aspx through
logon.aspx but once he/she logs of and try to login again system tries to
direct it to default.aspx and I do not have this kind of page. How can I
keep
myApp.aspx as permanent page after login.
Thanks,
Jim.


Nov 19 '05 #3
In web.config you can configure defalut.aspx to not require an authenticated
user:

<location path="default.aspx">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hello,
I have a logon.apsx page and when I clicked LogOff button, user is
directed
to this page. For the first login user is able to go to myApp.aspx
through
logon.aspx but once he/she logs of and try to login again system tries
to
direct it to default.aspx and I do not have this kind of page. How can
I keep
myApp.aspx as permanent page after login.
Thanks,
Jim.


Nov 19 '05 #4
Using the Personal Web Manager in the control panel\administrative tools,
you can set the default page to be anything you like. By default it is
default.htm, etc, but you can set it to be BiteMe.aspx if you would like to.

Steve

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:F9**********************************@microsof t.com...
Hello,
I have a logon.apsx page and when I clicked LogOff button, user is directed to this page. For the first login user is able to go to myApp.aspx through
logon.aspx but once he/she logs of and try to login again system tries to
direct it to default.aspx and I do not have this kind of page. How can I keep myApp.aspx as permanent page after login.
Thanks,
Jim.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Not Available | last post by:
On the host server: namespace JCart.Common public class JCartConfiguration : IConfigurationSectionHandler private static String dbConnectionString; public static String ConnectionString { get...
5
by: Ted Apollo | last post by:
When I develop my ASP.NET 1.1 application locally, the default form is always "WebForm1.aspx." However, when I post the same application to a web server, the default becomes "default.aspx." Why...
2
by: zino | last post by:
Hi, in asp.net , I set the start page to "myStartingPage.html" when user get authenticated and the cookie is created, the following statement is supposed to redirect him to the original requested...
2
by: Goober | last post by:
I have the following default.aspx page that works properly. However, what I want to do is to link the graphics within it (that are hard coded now in the default web page) to our corporate...
3
by: Gaetan | last post by:
I have setup 2 servers (Windows 2003 Server SP1, latest hotfix) with IIS and .Net Framework 1.1 and 2.0. None of the 2 servers have default.aspx listed as a default content document even when there...
3
by: nhmark64 | last post by:
Hi, Sometimes when I am cutting and pasting it looks like the keyboard layout changes; for instance ',' and 'w' are interchanged. Is there a better way to fix this problem than exiting then...
2
by: Lukas Kurka | last post by:
I have index.aspx and on that page i have login control and also other stuff. After I logged in, it redirects me to default.aspx which doesn't exist. Where can I change this stupid bahaviour? ...
10
by: Eirik Eldorsen | last post by:
How can I 301 redirect www.example.com/default.aspx to www.example.com without using ISAPI filters?
10
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Hi everybody, I'm trying to use the new VB 2008 right now and I want to know how to preset the company name and copyright informtion in Assembly Information. In my current VB 2005, company name...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
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
0
BarryA
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...
1
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...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.