Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2014, 02:15 PM
ScoobyDoo ScoobyDoo is offline
 
Join Date: Jan 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Login Every Single Time To Site??

Hi, every single time someone comes to my site, even myself, I have to login again which is irritating. I've tried to make changes to be able to save cookies, I guess you'd call it, and here's what I've done:

-Cookies and HTTP Header Options

-->Session Timeout - 2147483647 (Which's Max)
--> Path to Save Cookies - left as '/'
--> Cookie Domain - Changed to Blank Cause different domains, pulling off one, which is same content from main



Could someone please advise me what I've done wrong, or need to do to have it to where even if someone comes back a year or two from now they'd automatically be logged in instead of having to do it again?

Thank you
Reply With Quote
  #2  
Old 02-10-2014, 04:08 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What browser are you using?
Reply With Quote
  #3  
Old 02-10-2014, 04:17 PM
ZUCCO ZUCCO is offline
 
Join Date: Feb 2009
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a similar problem but when I go to mysite.com I log in and everything fine. When I go to www.mysite.com I have to log in again
Reply With Quote
  #4  
Old 02-10-2014, 04:48 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZUCCO View Post
I have a similar problem but when I go to mysite.com I log in and everything fine. When I go to www.mysite.com I have to log in again
My host allows me to choose if I want my site to recognize with or without the "www".
Reply With Quote
  #5  
Old 02-10-2014, 04:57 PM
ZUCCO ZUCCO is offline
 
Join Date: Feb 2009
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GaryT View Post
My host allows me to choose if I want my site to recognize with or without the "www".

How I do that? I use hostgator
Reply With Quote
  #6  
Old 02-10-2014, 05:52 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mike76 View Post
here's what I've done:

-Cookies and HTTP Header Options

-->Session Timeout - 2147483647 (Which's Max)
--> Path to Save Cookies - left as '/'
--> Cookie Domain - Changed to Blank Cause different domains, pulling off one, which is same content from main
That session timeout will get you in trouble with a full session table one of these days. It is NOT recommended to set it that high at all. Default is 900, or 15 minutes. I wouldn't set it to anything more than 1 hour, or 2700.

What is the URL to your site?

If you allow users to login to your site via both http://www.yoursite.com and just yoursite.com, then you MUST have your cookie domain (AdminCP > Settings > Options > Cookies and HTTP Header Options > Cookie Domain) set to ".yoursite.com" (no quotes, but note the period at the beginning) or your users will have problems.

Make sure to tell your users to click the Remember Me button when they login.
Reply With Quote
  #7  
Old 02-10-2014, 06:06 PM
ScoobyDoo ScoobyDoo is offline
 
Join Date: Jan 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
What browser are you using?

Hello ForceHSS, thank you for responding!! I'm using Mozilla, but my hope is to have it set to where regardless of ones browser they could just come to my site and they'd already be logged in, especially due to the fact that a lot of people use different passwords, forget which one for where, and just sorta like say "the heck with it".


--------------- Added [DATE]1392060496[/DATE] at [TIME]1392060496[/TIME] ---------------

Hi Lynne, thank you for your help! I've changed the setting to 2700, thank you very much.

In regards to setting it to .mysite.com, being how my site is mysite.com/forum.php I wasn't sure how to handle that because the following:

"You most likely want to leave this setting blank as entering an invalid setting can leave you unable to login to your forum."


and 'Path to Save Cookies' states:

"Please note that your path should always end in a forward-slash; for example '/forums/', '/vbulletin/' etc."

so if they were in someway connected I wouldn't want to get myself locked out cause even though I have Vbulletin.com support, the help there is 100% worthless as 26 messages later (different subject tho), I have Zack asking 'What's the problem' and he's was the one I had been talking to during the whole conversation, so to get a question like that, and 5 days of completely wasted time, I've resolved to that support being a complete and frustrating waste of time.

Note, if you work for them "Sorry for stating this, and no offense at all to you if you do", but just pointing out my fear in regards to: .mysite.com vs .mysite.com/forum.php and getting no help at all to log in.
Reply With Quote
  #8  
Old 02-10-2014, 06:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You want it to be set to ".mysite.com", NOT ".mysite.com/forum.php". And, don't touch the Path to Save Cookies setting.
Reply With Quote
  #9  
Old 02-10-2014, 07:12 PM
ScoobyDoo ScoobyDoo is offline
 
Join Date: Jan 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You want it to be set to ".mysite.com", NOT ".mysite.com/forum.php". And, don't touch the Path to Save Cookies setting.

Thank you so much Lynne!

--------------- Added [DATE]1392071141[/DATE] at [TIME]1392071141[/TIME] ---------------

Quote:
Originally Posted by Lynne View Post
You want it to be set to ".mysite.com", NOT ".mysite.com/forum.php". And, don't touch the Path to Save Cookies setting.
I changed the 'Cookie Domain' to .mysite.com and I was unable to login to member's area, even though I'm the admin, but luckily I was able to login to control panel to fix, so that for sure didn't take care of my want/need/hope for users to always be logged in when they come by site. Please check your PM if you don't mind.

--------------- Added [DATE]1392148088[/DATE] at [TIME]1392148088[/TIME] ---------------

--------------- Added [DATE]1392148192[/DATE] at [TIME]1392148192[/TIME] ---------------

Is the 'ONLY' way to have a memeber remebered, and automatically logged in as themselves is by checking the 'Remember Me' box?
Reply With Quote
  #10  
Old 02-13-2014, 01:30 AM
ScoobyDoo ScoobyDoo is offline
 
Join Date: Jan 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess I'll be starting a new thread here in a minute cause this one's no longer getting replies...

Now when I go to login to the Control Panel it says "Thank you logging in admin.." and looks like I'm getting back in, but brings me back to SAME EXACT login place I just was...OVER and OVER.

On the main forum I can not log out even though it says "All Cookies Cleared" and when I log out, then come right back to page I'm automatically logged in, which IS actually what I want for all members, but can anyone tell me WHY I can't logged in to the control panel, besides the obvious being 'Something's Wrong'?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04534 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete