Link to home
Start Free TrialLog in
Avatar of jerseygirl78
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.

Avatar of ns21
ns21

you have not mentioned which server side scripting you are using ?
Avatar of jerseygirl78

ASKER

Javascript
ASKER CERTIFIED SOLUTION
Avatar of discobabi
discobabi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial