D
dave
Why oh why doesnt this work???
I have a simple forms authentication that all works fine, ie it validates
user details against a db.
When i try to redirect it goes off to nowhere.
eg - code snippet:
FormsAuthentication.SetAuthCookie(dat("USER_ID"), AutoLogin.Checked)
Context.Response.Redirect("index.aspx")
'and tried just Response.Redirect("index.aspx")
Both of which look like they are going off somewhere, but never reach the
desired page. I have also tried the following within the <HTML> tag, but
still the same result?
if User.Identity.IsAuthenticated then
response.redirect("index.aspx")
end if
This is driving me totally nuts!
Hope someone can help.
I have a simple forms authentication that all works fine, ie it validates
user details against a db.
When i try to redirect it goes off to nowhere.
eg - code snippet:
FormsAuthentication.SetAuthCookie(dat("USER_ID"), AutoLogin.Checked)
Context.Response.Redirect("index.aspx")
'and tried just Response.Redirect("index.aspx")
Both of which look like they are going off somewhere, but never reach the
desired page. I have also tried the following within the <HTML> tag, but
still the same result?
if User.Identity.IsAuthenticated then
response.redirect("index.aspx")
end if
This is driving me totally nuts!
Hope someone can help.