473,378 Members | 1,456 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,378 software developers and data experts.

problem: redirect to login page only remotely

Hi, i'm having a very weird problem.
I have an application Asp .Net (Framework 1.1) that uses form
authentication.
To deny access to non-authenticated users i use
<authorization>
<deny users="?" />
</authorization>
in the web.config file.

It works ok when the app is deployed on any machine using IIS v5.1, but
when using IIS 6.0 a really weird thing happens.
If you access the application locally everything works fine (Example:
http://localhost/login.aspx)
but if you try to access remotely (http://NameOfServer/login.aspx) and
i put valid login and password, it gets to the page it is supossed to
but immediately returns to the Login screen.
(http://NameOfServer/login.aspx?ReturnUrl=%2fMenu.aspx).

That only happens with IIS 6.0, remotely, and using Microsoft Internet
Explorer. With Mozilla Firefox it doesn't happens.

Does somebody have any idea why?

Jul 7 '06 #1
2 1296
What is the your IIS app running as? windows integrated? basic auth?

Do you have identity impersonate=true in your web.config?

Make sure your local security IIS settings are the same as the remote
IIS security settings for that web app. That sounds like the problem

Jul 7 '06 #2
I am getting exactly the same problem, does anybody have a solution or
walk around?

es********@gmail.com wrote:
Hi, i'm having a very weird problem.
I have an application Asp .Net (Framework 1.1) that uses form
authentication.
To deny access to non-authenticated users i use
<authorization>
<deny users="?" />
</authorization>
in the web.config file.

It works ok when the app is deployed on any machine using IIS v5.1, but
when using IIS 6.0 a really weird thing happens.
If you access the application locally everything works fine (Example:
http://localhost/login.aspx)
but if you try to access remotely (http://NameOfServer/login.aspx) and
i put valid login and password, it gets to the page it is supossed to
but immediately returns to the Login screen.
(http://NameOfServer/login.aspx?ReturnUrl=%2fMenu.aspx).

That only happens with IIS 6.0, remotely, and using Microsoft Internet
Explorer. With Mozilla Firefox it doesn't happens.

Does somebody have any idea why?
Jul 30 '06 #3

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

Similar topics

0
by: Mike | last post by:
I can not figure out what is going on here. I hope somebody can please help!!! I've got an intranet ASP3 application running on a Win2k server. This application requires a login, so the user...
0
by: farooq | last post by:
Hi guys, I’m facing some problem can u solve it. Problem is: I’m giving user Id and password in (Login_sess.asp) and submit it to page (sess_test.asp). I am setting session variable...
1
by: farooqazeem | last post by:
Hi guys, I’m facing some problem can u solve it. Problem is: I’m giving user Id and password in (Login_sess.asp) and submit it to page (sess_test.asp). I am setting session variable...
3
by: Paul | last post by:
Hi all, at present I I've built a website which can be updated by admin and users. My problem, I've combined "log in" and "access levels" to restrict access to certain pages, using the built...
11
by: ElmoWatson | last post by:
I tried on the Security newgroup, as well as other places, and haven't gotten an answer yet - - I'm pulling my hair out over this one. I'm trying to get Forms Authentication working.....I can get...
1
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem...
1
by: sri | last post by:
I have login page "Login.aspx" and when user logs in the session.item("userid")=userid and navigates to next page inbox "Inbox.aspx" and when i logoff from this page i make the...
3
by: Joe Fawcett | last post by:
Dear All We have an application where users login, their name/password details are stored in a table, and now we want to add a third party bulletin board that lives in its own virtual directory....
7
by: Samuel Shulman | last post by:
Is there a method that will indicate the person who logged successfully is Logged and therefore allowed to browse freely other then using the...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
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$) { } ...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.