Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Using User table data for login outside GT products

Quote Reply
Using User table data for login outside GT products
I'm looking for a little more help... someone please point me in the right direction!

I have a 3-tiered directory. The first tier is simply a mailing list, and customers only need to register into the User Table to get on that list. The 2nd tier is a directory listing, and all it takes to move to that tier is to add a listing in the List table. The 3rd tier is a killer: the customer pays for enhanced directory listings, but more importantly to this issue, the 3rd-tier customer also gains access to resources that are not tied into a Gossamer product.

Now, I can add the tier info to a column in the User Table, so the customer's record reflects his/her status. I might even be able to figure out how to read that status when presenting the enhanced listing.

I have no good knowledge of how to verify the 3rd-tier status when a person attempts to access HTML pages within the "secured" area. I know GT uses cookies (and I'm using Community to share login info between Links SQL and Forum), but the basic login cookie can only verify the customer has an entry in the User Table (1st tier).

How can I test to determine 3rd-tier access from a location not provided by a GT product?

If you don't have the answer, can you point me to a programmer who can help?

Alan Frayer
Don't just read the news - make the news!
Your World News - http://yourworldnews.frayernet.com
Quote Reply
Re: [afrayer] Using User table data for login outside GT products In reply to
Okay, so I had some conversations, find that what I'd really like to do I can't do without major investment, but there is something I can do with a little help and some PHP code...

What I need to do is create a 2nd cookie after the first one is already created. The 2nd cookie comes from checking the status field in the Users table for an acceptable value, given knowledge of who the user is via existence of the 1st cookie. With the 2nd cookie created, I can then test for presence of the 2nd cookie and authorize access to the section in question.

This sounds very doable with PHP, but I only know a little PHP and don't have the time to figure it out.

Any volunteers?

If anyone would like to discuss this further more privately, please e-mail me at afrayer@ica-assn.org.

Alan Frayer
Don't just read the news - make the news!
Your World News - http://yourworldnews.frayernet.com