473,320 Members | 2,112 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,320 software developers and data experts.

Form authentication problem?

Hi All,
i have location problem when using form authentication.

When the user visit the login.aspx page, the url location will adds on
"?Returnurl=%....%web.config" string after the login.aspx url.

How to display the original url "www.xxx.com/login.aspx" instead of
"www.xxx.com/login.aspx?ReturnUrl=%...%web.config"

Any ideas?

Thank you in advance.

Best regards,
Ocurnos.
Nov 19 '05 #1
1 949
Umm, you can't because the browser made a request to login.aspx. The reason
it made a request to login.aspx is because when the request to someOtherPage.aspx
was unauthorized, the security plumbing in ASP.NET sent a 302 (Response.Redirect)
to the browser asking it to go to another page.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hi All,
i have location problem when using form authentication.
When the user visit the login.aspx page, the url location will adds on
"?Returnurl=%....%web.config" string after the login.aspx url.

How to display the original url "www.xxx.com/login.aspx" instead of
"www.xxx.com/login.aspx?ReturnUrl=%...%web.config"

Any ideas?

Thank you in advance.

Best regards,
Ocurnos.

Nov 19 '05 #2

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

Similar topics

7
by: luigipaioro | last post by:
Good morning to all! I'm trying to access on a web page that needs user and password authentication. I'm enabled to access there (I mean that I have an user name and a password to access via...
23
by: Lamberti Fabrizio | last post by:
Hi all, I've to access to a network file from an asp pages. I've red a lot of things on old posts and on Microsoft article but I can't still solve my problem. I've got two server inside the...
10
by: Noozer | last post by:
Below is some ASP, HTML and javascript. It is part of a page used to maintain a small database. This code did work at one time, but has since stopped. For some reason the data on my form is not...
16
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...
1
by: slawek xxxxx | last post by:
Hello everyone, I have found a problem with form authentication method that I can't solve. The problem is: I want to use a form authentication in my application, so i set : <authentication...
2
by: caldera | last post by:
Hi, I have a authentication from form authentication. It is redirect to an other web page. But it isnot redirected to desire page. What is reason for this problem and how can I solve this...
13
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...
6
by: Frank Walsh | last post by:
Can anyone tell me if this is possible in asp.net, I want to use form-based authentication to authenticate my users, however a employee of the company is attempting to be logged in as administrator...
3
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...
2
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.