Ask a Question related to ASP.NET Security, Design and Development.
-
Faassen, B. #1
Cookie not set after login and redirect
Hello
I have setup a forms authentication login page and use custom principal and identity. When authenticate everything goes well. But when I set the cookie holding the encrypted ticket and then redirect to the page requested the page always goes back to the login page.!!
I have also implemented the AquireRequest event to get the cookie back and set it on the HttpContext
but I will not work!
When using server.transfer it all works fine. But know I have encrypted ticket for nothing and realy prefer the redirect way... All examples Ive seen I also tried but none will help.
I think the problem is that my IE doesnot accept Cookies wel but I enabled it and also tried to set a cookie with FormsAuthentication.SetAuthCookie(...) . this works but know I have no data in this cookie so I have a empty cookie...
What can I do about this problem! Can anyone help please!
Barry Faassen
Software Engineer
Hogeschool Rotterdam
Netherlands
Faassen, B. Guest
-
Login Redirect
Hi, all I have this login script that calls on itself to authenticate the username and the password. It redisplays the login page if there is an... -
Find Cookie Else Redirect
Hello I'm in the finishing stages of a new CMS site and we've recently discovered a tear-out-my-hair authentication problem. Essentially, what I... -
Cookie not created with Response.Redirect
What is the difference between these two methods? The first one does NOT write a Cookie...and the second one does write the cookie. Anyone... -
set a cookie and redirect using CGI.pm
Hello I want to set a user cookie and redirect to a different URL on the same domain. I searched and found alternate ways of doing it. I am... -
sending session cookie before redirect
Hi! I have a function in a lot of pages, which redirects to a new page, if a form has been submitted: if (!(defined("DEBUG_INSERT") &&...



Reply With Quote

