Form Authentication Problem in ASP.NET | Bytes (2024)

Home Posts Topics Members FAQ

MB

Hi guys,

I've been experiencing a problem here with forms authentication.
When I am on one of my wesite's http (non-secure pages) everything works
fine. However, I am using a Shared SSL provided by my hosting company.
However, when I am automaticatical ly redirected to my login.aspx page (due
to absence of authentication token) it's redirected to an https page. Please
note that my original page was for example:
www.mywebsite.com/orderInfo.aspx. However, I am redirected to
www.secure.mywebsite.com/login.aspx.

Well .. after a user is authenticated (in the login.aspx secure page) .. I
use FormsAuthentica tion.RedirectFr omLoginPage() ..) method. here is where
the problem lies: Instead of being redirected to the original page
www.mywebsite.com/orderInfo.aspx, it is automatically redirected to the
correct webpage name but within the secure SSL area:
www.secure.mywebsite.com/orderInfo.aspx

has anybody already gone this same problem ?
Any insights ?
Thx a lot guys and have a great week end,

Marc B.
Toronto - Canada

Nov 19 '05 #1

Subscribe Reply

0 Form Authentication Problem in ASP.NET | Bytes (1) 1132 Form Authentication Problem in ASP.NET | Bytes (2)

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

Similar topics

3 9524

SQL Server login Form For access

by: Rudi Groenewald |last post by:

Hi there... I use SQL server integrated security so when a user opens a database in access it prompts the username & password in a small popup box on connection, but I'd like to use my own customised form for the authentication process, is this possible? I do know that this login popbox is displayed before any forms are loaded, can it be said that on database conenct that the form is opened? How will I transfer the values entered into...

Microsoft SQL Server

5 3564

Request.Form collection lost on submit

by: mvr |last post by:

Hi all IIS 5.0, ASP, and https:// I have "DataEntrypage.asp" which is a data entry page(about 250 data elements includes text boxes, radio buttons, check boxes, drop down boxes etc). After the data validation through javascript(form.action = "ProcessData.asp" )I post this page to "ProcessData.asp" which process all

ASP / Active Server Pages

16 2889

how to modify text in html form from python

by: Philippe C. Martin |last post by:

Hi, I am trying to change the data in a form field from python. The following code does not crash but has no effect as if "form" is just a copy of the original html form. Must I recreate the form order to do that ? My point is for the client to be able to re-read the modified data.

Python

11 2961

Login security for a form

by: David W. Simmonds |last post by:

I have a form that will prompt for a user name/password. In VS.NET, I have the protected form in a folder named Admin. I have a Web.config file in that folder as well. It contains the following section: <authorization> <deny users="?" /> <allow users="*" /> </authorization> In the root folder where the other forms are located I have a Web.config

ASP.NET

13 1683

Resource protected by Form based aythetication

by: david |last post by:

I can not figure out what is the problem that I can protect ASP.NEt form resource but not some other type of files, for example, images. All my aspx forms located in Demo folder and image files located in a subfolder of Demo, named images. I implement Role based form authentication. When I access all aps forms, it works fine and ask me user/password. However, I can use IE browser to directly access any image file in subfolder images. My...

ASP.NET

2 2904

Urgent - need help with logging anonymous and Active Dir users without login form

by: pv |last post by:

Hi everyone, I need help with following scenario, please: Users are accessing same web server from intranet (users previously authenticated in Active Dir) and from extranet (common public users). If user is from intranet, web server should recognize it and application should create additional options in controls regarding groups the user belongs to. If user is from extranet it should be logged in as anonymous and a link to login page...

ASP.NET

938

Form Authentication (.Net / Java)

by: Shailesh Gajare |last post by:

Hi All, I have a login page and a data page. For data page authentication is required. For few users authentication is being done by my server (.Net Server ) where form authentication is being used. And for other few users other server (Java Server) is setting the form authentication cookies. Will this work?

ASP.NET

3 2409

WIndows vs Form authentification ????

by: serge calderara |last post by:

Dear all, I clearly underdand the advantage of both type of authentification but is it allowed or possible to set the Authentication mode to Windows and then handle a login form for defined users in Credential section like as follow : <authentication mode="Windows" > <forms loginUrl="Login.aspx"> <credentials passwordFormat="Clear"> <user name="Jessee" password="JuneBug"/>

ASP.NET

2 2473

Excluding page authorization in a form authentication directory

by: Gnic |last post by:

Hi, I am a page that sit on a form authentication directory, but I have 1 or 2 pages that don't require form authentication, also I have a web service class in this directory as well, I am wondering how can I exclude those aspx and asmx from form authentication? thanks Gnic

ASP.NET

2 3078

Form authentication and html files

by: nick |last post by:

I have an Asp.Net 2.0 application using form authentication. I want the html pages be protected by the authentication system too. The accessing of html files need to be authenticated in my local system. However, it doesn't after I uploaded the files to my web host site. Any setting to modify to make my hosting html files need to be authenticated too?

ASP.NET

8697

What is ONU?

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...

General

1 8930

The easy way to turn off automatic updates for Windows 10/11

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,...

Windows Server

8892

Discussion: How does Zigbee compare with other wireless protocols in smart home applications?

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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...

General

7767

AI Job Threat for Devs

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...

Career Advice

1 6538

Access Europe - Using VBA to create a class based on a table - Wed 1 May

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...

Microsoft Access / VBA

5878

Couldn’t get equations in html when convert word .docx file to html file in C#.

by: conductexam |last post by:

I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...

C# / C Sharp

4382

Trying to create a lan-to-lan vpn between two differents networks

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...

Networking - Hardware / Configuration

1 3062

transfer the data from one system to another through ip address

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

C# / C Sharp

2 2359

How to add payments to a PHP MySQL app.

by: muto222 |last post by:

How can i add a mobile payment intergratation into php mysql website.

PHP

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

To disable or enable advertisem*nts and analytics tracking please visit the page.

Form Authentication Problem in ASP.NET | Bytes (2024)
Top Articles
Latest Posts
Article information

Author: Fredrick Kertzmann

Last Updated:

Views: 5662

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Fredrick Kertzmann

Birthday: 2000-04-29

Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

Phone: +2135150832870

Job: Regional Design Producer

Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.