login redirection issue

For all things related to Pirate-Community and its websites.

Moderator: English moderators

Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
Post Reply
Adsolution
Aline Louïa
Posts: 22067
Joined: Sat Aug 22, 2009 4:55 pm
Location: British Columbia, Canada
Contact:
Tings: 106718

login redirection issue

Post by Adsolution »

This mainly applies to 3G users and those who use shared networks:

Often when I'm browsing on my phone - vey often - I will be logged out for some reason. That's alright since it's probably unavoidable, but can we have it so instead of redirecting to the index page we get returned to the page we were on beforehand? The reason I ask this is because so many times when I'm posting a reply on my phone and I hit "submit" it asks me to log in, meaning it logged out while I was typing, making me lose everything I just has typed.

In short: When we log in, can we be returned to the same page we were on, plus have it save what we've typed? Knowing as this is a common feature on most boards this shouldn't be much of a problem to do.
Image
DesLife
Froutch
Posts: 19946
Joined: Sat Jun 12, 2004 12:42 pm
Tings: 186263

Re: login redirection issue

Post by DesLife »

Knowing how much of a mess the code is... :mrgreen:
Image
stan423321
Tarayzan
Posts: 7312
Joined: Sat Jan 12, 2008 3:22 pm
Location: Poland, of Union of Socialistic European Republics
Tings: 63250

Re: login redirection issue

Post by stan423321 »

Almost every system doing it I seen does it by attaching the return url to login page - sounds easy. However I have no idea about serious PHP stuff, I haven't seen the code, and knowing how messed it already is, I'll guess finding the parts supposed to be patched would already be a pain.
Adsolution
Aline Louïa
Posts: 22067
Joined: Sat Aug 22, 2009 4:55 pm
Location: British Columbia, Canada
Contact:
Tings: 106718

Re: login redirection issue

Post by Adsolution »

DesLife wrote:Knowing how much of a mess the code is... :mrgreen:
With that said I'm assuming the code has about the efficiency and organization value of a swine's kitchen.
Last edited by Adsolution on Tue Dec 13, 2011 10:07 pm, edited 1 time in total.
Image
stan423321
Tarayzan
Posts: 7312
Joined: Sat Jan 12, 2008 3:22 pm
Location: Poland, of Union of Socialistic European Republics
Tings: 63250

Re: login redirection issue

Post by stan423321 »

From what I understand, it's what happens when Smith's & Smith's cheapest engine gets put into Hunch's car and only tweaked a bit because this car would be used every month for a village ride, with heavy increase of use of this car following and nobody having enough guts to replace the engine because you may always tweak it.
Raylex
Eig
Posts: 16811
Joined: Wed Jul 27, 2005 12:22 pm
Tings: 43081

Re: login redirection issue

Post by Raylex »

This topic is old but it is another proof that we need a mobile version of the forum! :)
The Jonster
Joe
Posts: 34053
Joined: Sat Mar 24, 2018 6:15 am
Location: The realm of Mario Karting
Tings: 78205

Re: login redirection issue

Post by The Jonster »

Thank goodness I don't have a 3G
Always be true to yourself.
Image
Sigs by Steo and R4Y_ANC3L
Steo
Globox
Posts: 33018
Joined: Sun Feb 25, 2018 3:57 pm
Location: Globox Village
Tings: 91547

Re: login redirection issue

Post by Steo »

The Jonster wrote:Thank goodness I don't have a 3G
It makes no difference, mobile data will still do it even if it's 4G / LTE. It happens me if my WiFi drops out and my phone switches to data. I usually lose what I just typed. That's just an example of it.

What's "a 3G"? :P
Image
FC: 40210 | CF: 103059 | BOM: 94388 | LOTLD: 120486 | DOTK: 110450 | LS: 40810 | SBTC: 99693 | HH: 100028 | TOTL: 100563

TOTAL: 809687
Post Reply