PDA

View Full Version : Cookie question


Wilfred1
05-22-2010, 06:59 AM
Thinking out loud here...vb's cookie is for a domain including its extension.

You have 2 domains of the same name but different extensions like:
mydomain.com
mydomain.net

You have 2 licenses of vb with vb installed on both domains

You share the user and some other appropriate tables from the 1st to the 2nd db by using MYSQL Views.

Could a mod be created for the cookie to just be the domain name with no extension so a user can login to one domain and they are then automatically logged into the 2nd?

As I said, just thinking out loud here and probably not possible but had to ask :)

Xencored
05-22-2010, 07:57 AM
There was a mod once which allowed people to log in with the same username / pass on both sites

also am sure it also worked with cookie's
Cant remmber the name of it tho if i find it ill edit this post

Wilfred1
06-01-2010, 01:32 AM
Are you thinking of this one:
https://vborg.vbsupport.ru/showthread.php?t=211100&highlight=cookie

That one saves a separate cookie for each domain and the more domains you have the slower the login becomes