Web Develop Forum: Cookies/ Keeping logged in - Web Develop Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cookies/ Keeping logged in Rate Topic: -----

#1 User is offline   Gaz Icon

  • Advanced Member
  • Icon
  • Group: Administrators
  • Posts: 178
  • Joined: 15-January 09
  • Gender:Male
  • Location:UK

Posted 06 January 2010 - 02:31 AM

It might be me, but I don't seem to be able to keep logged in between visits!
Anyone else had this problem?
0

#2 User is offline   Blambu Icon

  • Advanced Member
  • Icon
  • Group: Administrators
  • Posts: 126
  • Joined: 22-October 08
  • Gender:Male

Posted 06 January 2010 - 03:38 PM

Yeah I've had this problem too! :(
[twitter]escensi[/twitter]
http://escensi.com
0

#3 User is offline   spencerp Icon

  • Advanced Member
  • Icon
  • Group: Moderator
  • Posts: 56
  • Joined: 13-December 09
  • Gender:Male

Posted 06 January 2010 - 04:28 PM

I haven't really had a problem with my login here though. It's usually on vBulletin boards that I can't stay logged in. Not sure why or what's going on, but maybe it's the board settings? But I think it's probably the fact that people are constantly using different ways to access the boards. Like, from their phones, laptops, desktop computers and etc. Maybe the fact that there's a constant change in IP addresses doing it? Not sure though.
0

#4 User is offline   Gaz Icon

  • Advanced Member
  • Icon
  • Group: Administrators
  • Posts: 178
  • Joined: 15-January 09
  • Gender:Male
  • Location:UK

Posted 06 January 2010 - 04:34 PM

Sam, what have you got for the cookies setting in ACP?
.www.webdevelopforum.com ?
0

#5 User is offline   Sam Granger Icon

  • Administrator
  • PipPipPip
  • Group: Root Admin
  • Posts: 431
  • Joined: 22-October 08
  • Gender:Male

Posted 06 January 2010 - 07:58 PM

It's related to sessions I think. Will check this out when home, typing this with freezing fingers while waiting for bus. I have the same problem, happens when I'm logged in and visit the site in a different tab too.
0

#6 User is offline   Sam Granger Icon

  • Administrator
  • PipPipPip
  • Group: Root Admin
  • Posts: 431
  • Joined: 22-October 08
  • Gender:Male

Posted 07 January 2010 - 07:53 AM

I set te session time a bit higher, hopefully this will help :). It however doesn't solve the issue we get when we close browser/start new browser session. Looking into fixing this now.
0

#7 User is offline   Gaz Icon

  • Advanced Member
  • Icon
  • Group: Administrators
  • Posts: 178
  • Joined: 15-January 09
  • Gender:Male
  • Location:UK

Posted 07 January 2010 - 04:43 PM

Still not helping much Sam :(

What session settings have you got? I know from prior experience that these settings are very fiddly..
0

#8 User is offline   46Bit Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 25-December 09
  • Gender:Male
  • Your specialities (detailed)::PHP/MySQL, XHTML/CSS, Javascript (esp. jQuery), learning C#/.NET at the moment.

Posted 07 January 2010 - 05:18 PM

Had this problem on one other freelancer vBull forum (not specifying since it could be construed as link spamming I suppose) but not this one so far.
Not taking on any work indefinitely. | Twitter

Posted Image
0

#9 User is offline   Randy Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 35
  • Joined: 13-December 09
  • Gender:Male

Posted 08 January 2010 - 01:32 AM

The cookies your forum are storing are using www.webdevelopforum.com, check your bookmarks and see what they are set for. If it just says webdevelopforum.com change it to www.webdevelopforum.com and it will work.

Fixed my issue :D
0

#10 User is offline   spencerp Icon

  • Advanced Member
  • Icon
  • Group: Moderator
  • Posts: 56
  • Joined: 13-December 09
  • Gender:Male

Posted 08 January 2010 - 03:07 AM

View PostRandy, on 08 January 2010 - 01:32 AM, said:

The cookies your forum are storing are using www.webdevelopforum.com, check your bookmarks and see what they are set for. If it just says webdevelopforum.com change it to www.webdevelopforum.com and it will work.

Fixed my issue :D


I was just going to say that!! LOL! Dang you beat me to it!! "Might want to redirect www on the domain, It's not redirecting so it'll cause cookie issues, since the cookies set are for non-www." - Thanks to Jordan for that one. :)

Edit: Actually: http://blogbuildingu...irect-right-way

Which ever one this board is using mainly, is the one you'd go by and add it to your htaccess file.
0

#11 User is offline   Sam Granger Icon

  • Administrator
  • PipPipPip
  • Group: Root Admin
  • Posts: 431
  • Joined: 22-October 08
  • Gender:Male

Posted 08 January 2010 - 10:23 AM

I added a www. forcer, however I need to edit it a bit - if I remove www somewhere outside the index, I get redirected to the index. (I'm not a .htaccess guru)

Here's my .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.webdevelopforum.com$
RewriteRule ^(.*)$ http://www.webdevelopforum.com/$1 [R=301]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\..+$
RewriteRule . /index.php [L]
</IfModule>


The code that was added by me:

RewriteCond %{HTTP_HOST} !^www.webdevelopforum.com$
RewriteRule ^(.*)$ http://www.webdevelopforum.com/$1 [R=301]

0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users