|
Olá,
Estou usando FormsAuthentication pra logar em uma aplicação.
Em meu ambiente local, a aplicação autentica normalmente e na página restrita o Request.IsAuthenticated retorna true, o que já era esperado.
Porém no ambiente da hospedagem, o mesmo login autentica com o FormsAuthentication normalmente, mas o Request.IsAuthenticated retorna false.
Agora querem algo mais bizzaro? Se eu colocar qualquer parametro na QueryString: ?id=xpto ou ?xpto=xpto, qualquer coisa mesmo, o Request.IsAuthenticated retorna true.
Exite alguma relação do Request.IsAuthenticated com QueryString?
Preciso fazer isso funcionar. Ajudem aê!!
Eu não acredito que seja a hospedagem, pois tenho outra aplicação que autentica normalmente no mesmo servidor.
|
|
|
|
|
Since this is primarily an English speaking site, you will get a better response if you formulate your question in English.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
Hello,
I am using FormsAuthentication to log into an application.
In my local environment, the application authenticates the page and usually restricted to Request.IsAuthenticated returns true, which was expected.
But in the hosting environment, it authenticates with the FormsAuthentication login normally but Request.IsAuthenticated false.
Now they want something more Bizzaro? If I put any parameters in QueryString:? Id = foo or? Foo = foo, anything at all, the Request.IsAuthenticated returns true.
Exite some relationship with the Request.IsAuthenticated QueryString?
I need to make it work. Aê help!
I do not believe it is hosting, because I have another application that authenticates usually on the same server.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|