218

I hate those fucking sites which make you login first and then redirect to their home page.

FOR FUCK'S SAKE, ITS 2017. CANT YOU BASTARDS WRITE A FEW LINES OF CODE SO THAT I AM AUTOMATICALLY REDIRECTED TO WHERE I WAS AND I NEED NOT BACKSPACE EVERY TIME I LOGIN?

Comments
  • 4
    I did this for my work and can confirm it is not hard. Just lazy coding.

    To be fair, most sites probably don't roll their own auth like we do, so it's either not offered by the service they integrated or they forgot to turn it on.
  • 0
    I'm lazy so I use Devise for Rails. Since Im a convert for iOS, I've add that (if force touch) as I hate it myself
  • 1
    Right click the back button and select the page you were on. Not ideal, but easier.
  • 1
    @cjhowald Its not super simple in all cases. Things get complicated a lot when you put RBAC into that.
  • 0
    They shouldn't be pushing tech for websites they don't understand so if they understand it it's easy, they should stick with what they know or not portend to offer a service it's bad for security, there brand and there customers.

    Never give them a goat as they will take it, all Web tech I seen offer simple fix's for that, a website should be as complex as you are so if your company is not IT savy and can't do the basics then they shouldn't offer it.

    Sorry but how I feel.
  • 5
    *cough*YouTube*cough*
  • 3
    Chrome disabled backspace to send you back :/
  • 3
    We had this in the first version of our webbapp 2003 ;)

    Every page had an include for the login code that displayed the login form if required and also remembered all url and form args so you never lost anything, even if you had been logged out while filling in a form.

    And that was classic asp with vbscript and jscript.
  • 0
    THISSSSS YES FKN HELL
Add Comment