Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking For Cookie To allow user To Access Page

Status
Not open for further replies.

madaxe2

Technical User
Jan 23, 2005
43
US
I can create the cookie read it back to print user name on page but i want to stop people from typing in url and skipping log in page.

So i want my html page to first check for cookie if it exists then allow people to goto any url if not to send them back to my .index page to log in.

MadAxe
 
HTML has no cookie creating or reading capabilities. You will have to look for your solution at the forum that handles your server side language (perl, php, asp, coldfusion) or Javascript.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top