Previous Thread
Next Thread
Print Thread
Rate Thread
#267497 01/19/2004 1:48 PM
Joined: Jan 2004
Posts: 9
Lurker
Lurker
Offline
Joined: Jan 2004
Posts: 9
Not sure what the correct subject should be here... but figured this might get attention 8-)

Okay, I've been trying to setup an auto-login script (i'm in a single sign-on enviro). I have my users setup properly in the UBB DB. If I go through all the login pages using UBB everything works fine. When I go through my login script (behind the scenes) I can get to the first page (whichever, start_page, ubbthreads, etc) with no probs, full auth. But any other page thereafter will not authenticate the user.

After much time going through all the UBB login code, and initial pages, and debugging, I've discovered that the reason the subsequent pages don't work is that the cookies are being dropped.

Now here is the interesting part, if I go through my login script after a POST from another page, everything works fine and persists the cookies on all pages.

So it looks like the login script works, but the cookies are wiped out unless I do a POST from a previous page.

Is there something I just don't know about how PHP or UBB is handling cookies? Please help!!!

Any help would be much appreciated. Thanks.

-ufid

Sponsored Links
Entire Thread
Subject Posted By Posted
cookie problem? ufid 01/19/2004 8:48 PM
Re: cookie problem? Astaran 01/19/2004 8:53 PM
Re: cookie problem? ufid 01/19/2004 9:00 PM
Re: cookie problem? Astaran 01/19/2004 9:03 PM
Re: cookie problem? ufid 01/20/2004 9:39 PM
Re: cookie problem? Astaran 01/21/2004 1:31 AM
Re: cookie problem? ufid 01/21/2004 5:09 PM
Re: cookie problem? Astaran 01/21/2004 5:18 PM
Re: cookie problem? slayer60 01/21/2004 9:47 PM
Re: cookie problem? ufid 01/21/2004 10:31 PM
Re: cookie problem? ufid 01/22/2004 6:32 PM
Re: cookie problem? Astaran 01/22/2004 6:58 PM
Re: cookie problem? ufid 01/22/2004 7:16 PM
Re: cookie problem? slayer60 01/22/2004 7:50 PM
Re: cookie problem? Astaran 01/22/2004 11:39 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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)