Gossamer Forum
Home : Products : Gossamer Links : Discussions :

shared cookie ????

Quote Reply
shared cookie ????
  

i have an idea on mind but not yet try it out
i would like to create one link db two time with with different prefix
so it will will be two set of links table co exist in one DB


My question is if i could use same cookie or login for two set of links tables.
i am using share cookie to search the forum and ended with inrelated result.

Anyone has the idea ?
I got a lot of help here and and appreciated guys here shared the idea
each other
Quote Reply
Re: [courierb] shared cookie ???? In reply to
Hi,

Are you saying you want to share an installation with domain.com/cgi-bin/links/ and also domain.com/cgi-bin/links2/ , but sharing the same database? That shouldn't be a problem.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] shared cookie ???? In reply to
HI Andy

yes. it would be the form of
domain.com/cgi-bin/links/
domain.com/cgi-bin/links2/


however it would be seperate set of tables while co exist in same database call mydb

for example

set one tables for links
links_llinks, links_users links_sessions blah blah blah



set two tables for links2
links2_links links2_users links2_sessions blah blah blah


while those two set of table co exist in Mydb

mybe my idear was too inmature. there is a lot of hard code needed.
Quote Reply
Re: [courierb] shared cookie ???? In reply to
Hi,

You should be able to edit the user_cookie_prefix option in Setup > User Options.

So on links2, set it to links2_

and on links, set to "links_

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!