OP
@jess avatar
UTC

Petty Tyrant
0:7 And counting
Joined: UTC
Posts: 37212
Location: Bay Area, California
 
Petty Tyrant
@jess avatar
0:7 And counting
Joined: UTC
Posts: 37212
Location: Bay Area, California
UTC quote
I've been tracking a problem for quite a while now where things break when a user is surfing with cookies turned off, especially a logged-in user. There was quite a bit of pre-existing code involved in making this particular case work properly, but it was broken, for a variety of reasons. It's been broken for some time, actually.

So I sat down this morning with a pot of coffee and delved deeper into the guts of the forum software than I think I've been before, and I think I've worked out all the problems and provided appropriate solutions. It was broken in a lot of ways, all over the forum, so this change is fairly invasive. The chances that I broke something else in the process are high. If you see a broken link, or something that doesn't seem to work right, please respond here in this thread.

The upshot to all of this should be that surfing with cookies turned off, while logged in, should now work.
@windbreaker avatar
UTC

Banned
29,000 miles on my atlantic pastel green 2007 GTS 250
Joined: UTC
Posts: 4332
Location: Utah Valley
 
Banned
@windbreaker avatar
29,000 miles on my atlantic pastel green 2007 GTS 250
Joined: UTC
Posts: 4332
Location: Utah Valley
UTC quote
I see one issue: you've got four balls Razz emoticon

Thanks for all the hard work Clap emoticon
UTC

Banned
Joined: UTC
Posts: 6035
 
Banned
Joined: UTC
Posts: 6035
UTC quote
That's pretty impressive!
Thanks
@tochaman avatar
UTC

Hooked
2007 GT200 "Midnight Special"
Joined: UTC
Posts: 453
Location: Portland, OR
 
Hooked
@tochaman avatar
2007 GT200 "Midnight Special"
Joined: UTC
Posts: 453
Location: Portland, OR
UTC quote
Yep..four balls IS pretty impressive!

Now if you add some strings, you can clack them left and right, perpetually, just like that physics toy. "L" can tell us how that works, being into physics and all.
UTC

Banned
Joined: UTC
Posts: 6035
 
Banned
Joined: UTC
Posts: 6035
UTC quote
tochaman wrote:
Yep..four balls IS pretty impressive!

Now if you add some strings, you can clack them left and right, perpetually, just like that physics toy. "L" can tell us how that works, being into physics and all.
Oooo!
That's an easy one--conservation of target/ball momentum
Forum member supplied image with no explanatory text
UTC

Banned
Joined: UTC
Posts: 6035
 
Banned
Joined: UTC
Posts: 6035
UTC quote
Oops! Forgot the end balls

That's conservation of momentum (see above)
combined with conservation of mechanical energy (below)
Forum member supplied image with no explanatory text
@copper_dolphin avatar
UTC

Molto Verboso
LX150 Darling Plum; GTS 250 Dragon Red; Honda Big Ruckus Demented Bastard
Joined: UTC
Posts: 1387
Location: Sacramento, Ca.
 
Molto Verboso
@copper_dolphin avatar
LX150 Darling Plum; GTS 250 Dragon Red; Honda Big Ruckus Demented Bastard
Joined: UTC
Posts: 1387
Location: Sacramento, Ca.
UTC quote
I have also noticed that if you hit the back button after posting a comment on a thread that it no longer makes a copy of your previous post.!!
This is a very good thing..

Thanks Jess
OP
@jess avatar
UTC

Petty Tyrant
0:7 And counting
Joined: UTC
Posts: 37212
Location: Bay Area, California
 
Petty Tyrant
@jess avatar
0:7 And counting
Joined: UTC
Posts: 37212
Location: Bay Area, California
UTC quote
Copper Dolphin wrote:
I have also noticed that if you hit the back button after posting a comment on a thread that it no longer makes a copy of your previous post.!!
This is a very good thing..
That was a separate improvement, made a few days ago. Let me guess -- IE user?
UTC

The Host with the Toast
Joined: UTC
Posts: 7199
Location: SoCal
 
The Host with the Toast
Joined: UTC
Posts: 7199
Location: SoCal
UTC quote
yes its a good thing, it was driving me nuts
UTC

Hooked
Joined: UTC
Posts: 119
 
Hooked
Joined: UTC
Posts: 119
UTC quote
Whew! That was a close one.
@trafficjammer avatar
UTC

Ossessionato
2008 Teal LX125 ... 2007 Red LX150 ... 2010 Yellow LX125ie
Joined: UTC
Posts: 3311
Location: Tortola, BVI (Caribbean)
 
Ossessionato
@trafficjammer avatar
2008 Teal LX125 ... 2007 Red LX150 ... 2010 Yellow LX125ie
Joined: UTC
Posts: 3311
Location: Tortola, BVI (Caribbean)
UTC quote
Re: Sessions, Cookies, and Forum Updates
jess wrote:
The upshot to all of this should be that surfing with cookies turned off, while logged in, should now work.
Yeah Jess!!! Thank you, thank you, thank you!

Does that mean that I can log in once and remain logged in forever provided I don't delete the cookies?

<Added> It seems that the "posts read" indicators may not be working. Anyone else?
Forum member supplied image with no explanatory text
@scootover avatar
UTC

Molto Verboso
Joined: UTC
Posts: 1104
Location: Midwest
 
Molto Verboso
@scootover avatar
Joined: UTC
Posts: 1104
Location: Midwest
UTC quote
I'm not sure about IE since I havnt used it for so long but with Firefox you can choose which sites to accept cookies.So for example if I came here this site would automatically allow cookies but when I surfed to another site,no cookies would be allowed.I like this option vs all cookies on or all cookies off.
@trafficjammer avatar
UTC

Ossessionato
2008 Teal LX125 ... 2007 Red LX150 ... 2010 Yellow LX125ie
Joined: UTC
Posts: 3311
Location: Tortola, BVI (Caribbean)
 
Ossessionato
@trafficjammer avatar
2008 Teal LX125 ... 2007 Red LX150 ... 2010 Yellow LX125ie
Joined: UTC
Posts: 3311
Location: Tortola, BVI (Caribbean)
UTC quote
TrafficJammer wrote:
Does that mean that I can log in once and remain logged in forever provided I don't delete the cookies?
Never mind, I just answered my own question when I closed my browser, opened it again and came back. I was automatically logged off. Oh well.

It does seem though that something is awry with the "posts read" indicator both with and without cookies turned on. Strange!
⚠️ Last edited by TrafficJammer on UTC; edited 1 time
@dougl avatar
UTC

El Macho
KTM Super Duke 1290, Vespa GTS 300
Joined: UTC
Posts: 9047
Location: Porto 4050-570
 
El Macho
@dougl avatar
KTM Super Duke 1290, Vespa GTS 300
Joined: UTC
Posts: 9047
Location: Porto 4050-570
UTC quote
TrafficJammer wrote:
It seems that the "posts read" indicators may not be working. Anyone else?
Nah they don't work properly. Jess is aware of this I think...
OP
@jess avatar
UTC

Petty Tyrant
0:7 And counting
Joined: UTC
Posts: 37212
Location: Bay Area, California
 
Petty Tyrant
@jess avatar
0:7 And counting
Joined: UTC
Posts: 37212
Location: Bay Area, California
UTC quote
DougL wrote:
TrafficJammer wrote:
It seems that the "posts read" indicators may not be working. Anyone else?
Nah they don't work properly. Jess is aware of this I think...
There are actually two separate problems here.

Under phpBB2, the posts read are tracked via a cookie on the client side. Thus, if you have cookies off, that functionality won't work properly. You can log in and surf without cookies, but you'll be missing that piece.

Second, under phpBB2, the posts read being tracked by cookies doesn't work very well, and occasionally (or even often) will take you to a point in a thread where you have previously jumped in.

The remedy to both of these problems is to replace the phpBB2 post-tracking code with something closer to the phpBB3 model, where the server keeps track of which posts have been read by which user.
@oopsclunkthud avatar
UTC

Banned
3:5
Joined: UTC
Posts: 8951
Location: San Francisco
 
Banned
@oopsclunkthud avatar
3:5
Joined: UTC
Posts: 8951
Location: San Francisco
UTC quote
Seems to have solved the issue I was seeing with pages timing out as well. This happened mostly when I tried to open several pages at a time in new tabs.
DoubleGood Design banner

Modern Vespa is the premier site for modern Vespa and Piaggio scooters. Vespa GTS300, GTS250, GTV, GT200, LX150, LXS, ET4, ET2, MP3, Fuoco, Elettrica and more.

Buy Me A Coffee
 

Shop on Amazon with Modern Vespa

Modern Vespa is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com


All Content Copyright 2005-2024 by Modern Vespa.
All Rights Reserved.


[ Time: 0.0165s ][ Queries: 4 (0.0051s) ][ live ][ 313 ][ ThingOne ]