News
: October 6, 2008 -
Submit Your Site for the October 2008 Site of the Month!
Home
Help
Search
Calendar
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
October 06, 2008, 05:44:23 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Web Hosting Forum | Lunarpages
>
Lunarpages Web Hosting - Advanced Assistance
>
Lunarpages - Webdesign and HTML
>
How do I add a logout to a password protected directory?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: How do I add a logout to a password protected directory? (Read 435 times)
kelman3
Pong! (the videogame) Master
Offline
Posts: 29
How do I add a logout to a password protected directory?
«
on:
January 17, 2008, 04:34:43 PM »
Hi there,
I've added a password protected section to one of my sites but I did it by using the "password protect directories" section of cpanel.
The site's owner has requested that I put in a log out system. I guess this means creating a button that erases the cookie that was set by the server.
Anyone know how to do this?
The cookie in question is called "loginkey" and has an alphanumeric hash as the content. But each directory that I log into creates a cookie called "loginkey" so how do I erase the cookie for that specific directory and not just any cookie called "loginkey"?
If erasing cookies is the wrong approach please let me know.
Thanks in advance.
Logged
scanman20
Master Jedi
Offline
Posts: 1248
Re: How do I add a logout to a password protected directory?
«
Reply #1 on:
January 18, 2008, 06:30:51 AM »
I think the last sentence in the section titled, "How do I log out?" at
http://httpd.apache.org/docs/1.3/howto/auth.html#logout
answers it pretty well.
Logged
Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
kelman3
Pong! (the videogame) Master
Offline
Posts: 29
Re: How do I add a logout to a password protected directory?
«
Reply #2 on:
January 18, 2008, 07:57:25 AM »
Thanks a lot for that.
Logged
kelman3
Pong! (the videogame) Master
Offline
Posts: 29
Re: How do I add a logout to a password protected directory?
«
Reply #3 on:
January 21, 2008, 06:11:43 AM »
Well, it seems that the site's owner doesn't like the password protect directory system. They'd rather a real login/logout system.
Can anyone recommend that? Does Coffee Cup's password protect wizard accomplish this?
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Lunarpages Web Hosting - Information & Opportunities
-----------------------------
=> Lunarpages Web Hosting - Announcements
=> Lunarpages Web Hosting - Hosting Plans & Site Information
=> Job Opportunities at Lunarpages Web Hosting
=> Lunarpages Web Hosting - Network Information
=> Lunarpages Web Hosting - Server Information
-----------------------------
Lunarpages Web Hosting - Before Signing Up
-----------------------------
=> Lunarpages Web Hosting Plans - Pre-Sales Questions
-----------------------------
Lunarpages Web Hosting - Online Help Desk
-----------------------------
=> Lunarpages - Webhosting Help
=> Lunarpages - Beginner Assistance
=> Lunarpages - How to's
=> E-mail with your Lunarpages Hosting Plan
=> Lunarpages - CPanel Help
=> Lunarpages - Ecommerce Hosting
=> Lunarpages - FrontPage
=> Lunarpages - DreamWeaver
=> Lunarpages - Message Boards-Forums-Fantastico Scripts
===> Lunarpages - Joomla / Mambo
-----------------------------
Lunarpages Web Hosting - Advanced Assistance
-----------------------------
=> Web Management
=> Lunarpages - Webdesign and HTML
=> Lunarpages - Search Engine Optimization
=> Lunarpages - Animation & Flash
=> Lunarpages - Graphics
=> Lunarpages - Web Hosting, Email & PC Security
=> Lunarpages - Dedicated Web Hosting
=> Lunarpages - Reseller Web Hosting
=> Lunarpages - VPS Hosting
=> Lunarpages - SharePoint Services (Beta)
===> Lunarpages - cPanel & WHM
===> Lunarpages - General
===> Lunarpages - Plesk
===> Lunarpages - Security
===> Lunarpages - Tutorials
===> Lunarpages - Webmin
===> Lunarpages - WHM
-----------------------------
Lunarpages Web Hosting - Coding
-----------------------------
=> Lunarpages - ASP
=> Lunarpages - C++ / PERL / CGI
=> Lunarpages - PHP & MySQL
=> Lunarpages - Java Applets & Javascript
=> Lunarpages - JSP & Servlets
=> Lunarpages - Ruby Hosting
=> Lunarpages - Windows Development & Hosting
-----------------------------
Lunarpages Web Hosting - Entertainment
-----------------------------
=> Lunarpages - Chat & Stuff!
=> Lunarpages - Contests
=> Fun at Lunarpages!!
=> Lunarpages - Online Gaming
-----------------------------
Lunarpages Web Hosting - General
-----------------------------
=> Social Networking
=> Lunarpages Free Web Hosting - Education Program
=> Lunarpages - Affiliate Program
=> Introduce Yourself to the Lunarpages Forum Community!
=> Your Websites & Creations at Lunarpages!
=> Lunarpages Website of the Month
=> Lunarpages - Service and Trade
Loading...