jerseygirl78
asked on
cookies username to grant access to restricted pages
I need to Implement links to these pages as buttons for wich the "onclick" event calls a function that checks to see If.
A presence of a login cookie
If the cookie is present it loads the the restricted pages granting access.
if the cookie is not found then an alert box is displayed informing the visitor that they must be logged first before they can access these pages.
A presence of a login cookie
If the cookie is present it loads the the restricted pages granting access.
if the cookie is not found then an alert box is displayed informing the visitor that they must be logged first before they can access these pages.
you have not mentioned which server side scripting you are using ?
ASKER
Javascript
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.