specialist
Programmer
Hello!
A very easy answer, but...
I really have been beating my head against the wall trying to figure this out but for the life of me i cannot!
Here is the deal:
I have an intranet application which requires endusers to login with their username and password. the username and pword are session variables defined in a form then being checked against a table in a sql2k db. Fair enough, I have that working fine! One point for me.
HOWEVER
I would like to check for the username and password variables if the enduser clicks on the link w/o going thru the form. For example -- if the end user had the page bookmarked, I would like the enduser to be re-directed to the login page if the username and password variables are not there. OR, if someone does not have a user/pass and is not allowed in there, I do not want them to be able to type the full URL and access the page.
VERY EASY for YOU, but not for me.
Please help if you can, thank you...
Mike
A very easy answer, but...
I really have been beating my head against the wall trying to figure this out but for the life of me i cannot!
Here is the deal:
I have an intranet application which requires endusers to login with their username and password. the username and pword are session variables defined in a form then being checked against a table in a sql2k db. Fair enough, I have that working fine! One point for me.
HOWEVER
I would like to check for the username and password variables if the enduser clicks on the link w/o going thru the form. For example -- if the end user had the page bookmarked, I would like the enduser to be re-directed to the login page if the username and password variables are not there. OR, if someone does not have a user/pass and is not allowed in there, I do not want them to be able to type the full URL and access the page.
VERY EASY for YOU, but not for me.
Please help if you can, thank you...
Mike