|
|
#1 |
|
Senior Member
Join Date: Mar 2006
Location: Calif/San Franisico Bay Area
Posts: 110
Rep Power: 16 ![]() |
I have two sites www.mysite.com and www.mysite.com/directory/ I have a link from mysite.com to /directory/
and back again. My question is? when a person logs into either site first and uses the link to get to the other site is there a way for them not to be already login to the second site? Thanks |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Jun 2007
Posts: 297
Rep Power: 16 ![]() |
I'm not understanding fully. But let me take a guess at what you're trying to ask.
Do you have 68classifieds installed once at www.mysite.com/directory/ and installed again at www.mysite.com, each having their own mysql database? If that is correct, you want both scripts to use the same user database?
__________________
Version 4.0.3 Developer |
|
|
|
|
|
#3 |
|
The Master
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,400
Rep Power: 45 ![]() ![]() |
The answer is no. When you login to a website you create a user session which is only valid for that domain.
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers. |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Mar 2006
Location: Calif/San Franisico Bay Area
Posts: 110
Rep Power: 16 ![]() |
What I have is a classified site and a directory site. If a member is log into the classified site then goes to the directory site it will show them as login. Or if you are a member in the directory site, and browse to the classified site it shows you login. How do you stop this. Both are using different databases.Thanks again
|
|
|
|
|
|
#5 | ||
|
Senior Member
Join Date: Jun 2007
Posts: 297
Rep Power: 16 ![]() |
Quote:
Quote:
__________________
Version 4.0.3 Developer |
||
|
|
|
|
|
#6 | |
|
Coder
Join Date: Mar 2006
Posts: 4,569
Rep Power: 111 ![]() ![]() |
Quote:
mydomain.com and mydomain.com/mydirectory/ are different sites and thus different sessions/cookies. For starters you would likely have to heavily modify the site so that both installs use same database (at least for users) so user data is the same for both sites. Then you would have to modify how one of them creates cookies/sessions so the values that are created are the same for both. Not really a support issue since its all working as intended. This would customization. |
|
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Mar 2006
Location: Calif/San Franisico Bay Area
Posts: 110
Rep Power: 16 ![]() |
If a member is login to ether site, and uses the link to the directory or classified site, is it possible to have them auto logout of the site that they had left from? Or maybe inform them that they are going to be logout, it they continue, Giving them an option.
|
|
|
|
|
|
#8 |
|
The Master
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,400
Rep Power: 45 ![]() ![]() |
If the user is on the directory, send them to Classifieds/logout.php and vice versa.
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers. |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Mar 2006
Location: Calif/San Franisico Bay Area
Posts: 110
Rep Power: 16 ![]() |
That works, but can they land on the homepage or the index.php, instead of the login.php page?
|
|
|
|
|
|
#10 |
|
The Master
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,400
Rep Power: 45 ![]() ![]() |
You need to change the redirection in the same code from userlogin to index.php
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cant login Admin Anymore | pvisser | v3.1 Questions & Support | 5 | 02-28-2007 10:24 AM |
| Logging in across several sites. | Maffo | v3.1 Questions & Support | 4 | 07-25-2006 04:19 PM |
| Login Over and Over and Over | garysmith | v3.1 Questions & Support | 6 | 05-16-2006 07:55 AM |