Page 1 of 1

Forums redirection when not logged in/session expired

PostPosted: Fri Apr 25, 2008 3:11 pm
by Kage
@comperr

There REALLY should be a system in place similar to how HTS currently works (you login at whatever page on HTS.org, and it brings you back to that page logged in). Instead of just sending them to /?need_login, do something like... /?need_login&redir=(URL encoding for where on the forums they were trying to go). That way, when a user clicks on a forums link, all they need to do is login, and boom, they're right where they were trying to go to. It should be relatively easy to implement since HTS does it already for existing pages.

Re: Forums redirection when not logged in/session expired

PostPosted: Fri Apr 25, 2008 4:17 pm
by comperr
The issue is that HTS redirects to pages based on the referring page. The forums would not have that as it uses the index page to perform the HTS login. I will be hopefully implamneting a redirect but I don't want to break things and I have a few other issues at the moment. I want to work on those and then I'll commit the changes needed.

Re: Forums redirection when not logged in/session expired

PostPosted: Sat Apr 26, 2008 9:57 pm
by oohal
Why don't we just make the login cookies last until the browser is closed? Their current duration is insanely short.

Re: Forums redirection when not logged in/session expired

PostPosted: Sun Apr 27, 2008 8:43 pm
by comperr
That would be a HTS issue; not Forums - though I agree.