RedirectFromLoginPage

J

Jl_G_0

Hey all, I got a question and hope someone can help me here.

I have a aspx page that reads from a excel sheet logins, and checks
the user login, if its OK, it allow the user to access pages on a /
restrict folder. It almost works, but here's what happens:
I have to place the login.aspx outside the restricted folder in
order for it read the USERNAME from the user browser, otherwise it
returns blank, and I wonder why... (the webserver is IIS5 running on
WIN2000 Server, with Windows Authentication set).
Since the login.aspx is outside the restricted folder, it checks OK
and try to RedirectFromLoginPage(userid, true). But it says file not
found after a while.

Im guessing the problem is when redirecting, since the login page is
outside the restrict folder, it fails. But if I place the login page
inside the folder, I cant get the username.

Anyone knows what I should do/search ? Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top