Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2001
Posts: 184
Member
Member
Offline
Joined: Jan 2001
Posts: 184
Pilot:

First off, thank you for your comments. The reply that follows is very important and I hope everyone following this thread can use this one message as a summary to answer ALL concerns.

This is not really a bug, but a mental breakdown on my part when I created the docs, and here is a detailed explanation about cookies, my script, SSI, Unix and NT:

The cookie routine I use is external to UBB, does not affect UBB cookies at all. It creates 3 session only cookies - UserName, Password and authorized. The last one, if missing, will log the user out. This is what happened to the NT folks due to my error updating the docs.

The issue being discussed in this thread is about the default cookie path set in perl-cookie.lib. Remember my login script actually **fixes** problems with two cookies: UserName and Password, because it *creates* them after any successful login so the user will **always** see these fields filled in when posting messages, etc., even if other 1 year old cookies generated by UBB fail (preferences, private forums, etc.) I don't touch that other cookies at all. The CP settings for cookies has no bearing on my script, or vice versa since I use an external library. This is stated in docs.

Pilot, I want to be VERY clear on that point, to answer your concerns. Take a moment to stop and think about it, it's important you see that distinction.

What follows next is a summary of the discussion taking place in this thead.

First off, a little background:

When SSI is used in a Unix environment, along with cookie support, the cookie MUST be set to root path. This has nothing to do with my script in particular, this is a technical requirement of ALL Unix compatible or cloned servers, plain and simple. In my perl-cookie.lib I set the default path to "/" which works on 100% on the Unix or Unix like systems out there, be it they run SSI or not.

NT servers use "drive:path" denotations, unlike Unix.

So all that happened here (and what this thread is about) is that the default path I placed into the release version of perl-cookie.lib will work fine for ALL non-NT folks. And, it does. To perfection.

I forgot to mention in the docs that NT
folks need to modify the default path statement in perl-cookie.lib, that's all, Pilot, because '/' in NT doesn't work, obviously. I added in other small workarounds for NT folks (i.e. some environment variables are different) but in this case, I goofed and forgot to tell folks to change the default path if they run NT.

So, when NT folks modify the perl-cookie.lib to use NT's drive:path naming convention instead of the Unix which won't work for them, I'll fix their UserName and Password cookies to, they won't be logged out by accident, and I will be one happy code hacker!

Pilot - are you now in sync with me?

-Jim

------------------
From: Jim Goldbloom
UBB Code Hacker
http://www.accessdeniedbbs.net/downloads for latest hacks

This message has been edited by hate98 on January 11, 2001 at 07:40 PM

Sponsored Links
Entire Thread
Subject Posted By Posted
LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/07/2001 4:22 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 Metallifukinca 01/07/2001 4:55 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 MorphStar 01/07/2001 3:50 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 01/08/2001 6:25 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/08/2001 6:40 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 mcewanm 01/08/2001 9:55 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/08/2001 10:10 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 speed 01/09/2001 4:29 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/09/2001 5:40 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 speed 01/09/2001 6:32 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/09/2001 6:38 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 speed 01/09/2001 6:50 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/09/2001 7:03 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 AgentX 01/10/2001 10:41 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 AgentX 01/10/2001 10:48 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/10/2001 10:54 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/10/2001 11:04 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 AgentX 01/11/2001 8:46 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/11/2001 10:21 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 01/11/2001 10:27 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 01/11/2001 10:30 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/11/2001 10:42 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/11/2001 10:52 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/11/2001 10:53 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 01/11/2001 10:55 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/11/2001 11:05 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 Pilot 01/11/2001 11:16 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/12/2001 1:27 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/12/2001 2:10 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 01/12/2001 1:30 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 01/12/2001 2:05 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/12/2001 3:54 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 Pilot 01/12/2001 4:47 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/12/2001 5:24 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 Orc 01/12/2001 6:41 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/12/2001 7:03 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 01/12/2001 7:17 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 Pilot 01/12/2001 9:28 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/12/2001 10:15 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/12/2001 10:40 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 Pilot 01/13/2001 7:51 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/13/2001 11:00 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 Pilot 01/14/2001 1:01 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/14/2001 6:03 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/14/2001 6:12 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 AgentX 01/14/2001 10:56 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 01/15/2001 12:45 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/15/2001 3:21 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 mmnatas 01/15/2001 9:42 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/15/2001 10:02 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 mmnatas 01/15/2001 10:11 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/15/2001 10:30 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 mmnatas 01/15/2001 10:47 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/15/2001 10:59 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 mmnatas 01/15/2001 11:05 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/15/2001 11:20 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 mmnatas 01/15/2001 11:49 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/16/2001 12:03 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 NightSong 01/16/2001 3:28 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/16/2001 3:22 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 TyRaN 01/18/2001 10:33 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/18/2001 4:01 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 TyRaN 01/18/2001 7:03 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 mmnatas 01/22/2001 5:27 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/22/2001 5:31 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 indoe 01/23/2001 7:01 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 sliver 01/25/2001 8:00 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/25/2001 8:08 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 sliver 01/25/2001 10:16 AM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 01/31/2001 4:04 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 01/31/2001 4:58 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 spiffy 02/01/2001 3:14 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 02/01/2001 4:00 PM
Re: LOGIN.CGI Version 3.0 public available for download 1/6/01 hate98 02/02/2001 10:27 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1841
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 14
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)