vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Login Every Single Time To Site?? (https://vborg.vbsupport.ru/showthread.php?t=308156)

ScoobyDoo 02-10-2014 02:15 PM

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

ForceHSS 02-10-2014 04:08 PM

What browser are you using?

ZUCCO 02-10-2014 04:17 PM

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

K4GAP 02-10-2014 04:48 PM

Quote:

Originally Posted by ZUCCO (Post 2480213)
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".

ZUCCO 02-10-2014 04:57 PM

Quote:

Originally Posted by GaryT (Post 2480216)
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

Lynne 02-10-2014 05:52 PM

Quote:

Originally Posted by mike76 (Post 2480193)
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.

ScoobyDoo 02-10-2014 06:06 PM

Quote:

Originally Posted by ForceHSS (Post 2480209)
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.

Lynne 02-10-2014 06:41 PM

You want it to be set to ".mysite.com", NOT ".mysite.com/forum.php". And, don't touch the Path to Save Cookies setting.

ScoobyDoo 02-10-2014 07:12 PM

Quote:

Originally Posted by Lynne (Post 2480239)
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 (Post 2480239)
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?

ScoobyDoo 02-13-2014 01:30 AM

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'?


All times are GMT. The time now is 07:52 AM.

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.01141 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete