I
Ivan Demkovitch
Hi!
Here is what I'm doing:
I have Login.aspx with code to do forms authentification and I have this
line at the end:
Response.Redirect(Request.UrlReferrer.ToString());
I have other (non-ASP.NET) pages that post to Login.aspx. THis way I
accomplish asp.net authentification.
Response.Redirect(Request.UrlReferrer.ToString()); work nice because it
takes user back to the place from he/she loggin in.
However, some users reported that they get error during login.
Error states that Reques.URLReferrer is NULL.
How that would happen? Is that a known bug? Is there something with their
environment?
I didn't even think about checking for it, because this form only accessable
when something posts to it.
Also, I have no idea where to redirect user even I check for NULL.
TIA
Here is what I'm doing:
I have Login.aspx with code to do forms authentification and I have this
line at the end:
Response.Redirect(Request.UrlReferrer.ToString());
I have other (non-ASP.NET) pages that post to Login.aspx. THis way I
accomplish asp.net authentification.
Response.Redirect(Request.UrlReferrer.ToString()); work nice because it
takes user back to the place from he/she loggin in.
However, some users reported that they get error during login.
Error states that Reques.URLReferrer is NULL.
How that would happen? Is that a known bug? Is there something with their
environment?
I didn't even think about checking for it, because this form only accessable
when something posts to it.
Also, I have no idea where to redirect user even I check for NULL.
TIA