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) 1130 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 2887

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 2960

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

937

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 2408

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 3077

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

8656

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

8592

Changing the language in Windows 10

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

Windows Server

9141

Problem With Comparison Operator <=> in G++

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

C / C++

7694

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

5851

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

4351

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

4605

Windows Forms - .Net 8.0

by: adsilva |last post by:

A Windows Forms form does not have the event Unload, like VB6. What one acts like?

Visual Basic .NET

1 3025

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 2306

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)

References

Top Articles
Latest Posts
Article information

Author: Aron Pacocha

Last Updated:

Views: 5965

Rating: 4.8 / 5 (48 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Aron Pacocha

Birthday: 1999-08-12

Address: 3808 Moen Corner, Gorczanyport, FL 67364-2074

Phone: +393457723392

Job: Retail Consultant

Hobby: Jewelry making, Cooking, Gaming, Reading, Juggling, Cabaret, Origami

Introduction: My name is Aron Pacocha, I am a happy, tasty, innocent, proud, talented, courageous, magnificent person who loves writing and wants to share my knowledge and understanding with you.