Welcome Guest, Not a member yet? Register   Sign In
Ajax request without extending session?
#11

HTTP Headers for Dummies
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#12

Thanks for the advice - I know about and have used HTTP headers, I just haven't used them extensively, and not in this scenario.

I've just implemented now a 401 header on requests which are sent while not logged in/expired, which my JS detects and prompts the user accordingly/redirects them.

It's working well now!

Thanks again everyone.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB