Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #16593

Re: Automatically doing something if logged in

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: Automatically doing something if logged in
Date Mon, 22 Feb 2016 20:21:50 +0100
Lines 14
Message-ID <dj15eeF12e3U1@mid.individual.net> (permalink)
References <1b712b26-1665-45f9-9017-1dcf9e8bfbcb@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace individual.net cLBJ41t1UNJbI/S3RYQ/BgI5MQUpJcfgwTyyKsC8U3NdKn/P9C
Cancel-Lock sha1:zcEWd6ku+kfxm+o86Lg4Vo8q7QY=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To <1b712b26-1665-45f9-9017-1dcf9e8bfbcb@googlegroups.com>
Xref csiph.com comp.lang.php:16593

Show key headers only | View raw


On 02/22/2016 07:02 PM, bit-naughty@hotmail.com wrote:
> Hi,
> So say there's a forum site, and if there' been a reply to a post I've made, it sends me a link to that thread. If I click on it, and I've remained logged in when I was there last, then it *automatically takes me to that thread*. If I wasn't, then it shows me a Login box - when I log in it *automatically takes me to that thread*, but if I just went to the homepage NOT clicking on any email link, and I THEN log in, then it shows me something else (like "My homepage" or something), NOT that thread.
> It's quite late, am I making sense? :)
> How is this pulled off?

If you want things to happen "automagically", then you need to think
more than just PHP, add some javascript (there are loads of good
frameworks) and use websockets.


-- 

 //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Automatically doing something if logged in bit-naughty@hotmail.com - 2016-02-22 10:02 -0800
  Re: Automatically doing something if logged in Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-22 14:04 -0500
  Re: Automatically doing something if logged in "J.O. Aho" <user@example.net> - 2016-02-22 20:21 +0100
    Re: Automatically doing something if logged in Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-22 14:52 -0500
      Re: Automatically doing something if logged in "J.O. Aho" <user@example.net> - 2016-02-23 06:58 +0100
    Re: Automatically doing something if logged in Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-22 22:25 +0100
      Re: Automatically doing something if logged in "J.O. Aho" <user@example.net> - 2016-02-23 07:04 +0100
        Re: Automatically doing something if logged in Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-23 08:31 +0100
      Re: Automatically doing something if logged in Arno Welzel <usenet@arnowelzel.de> - 2016-02-23 08:24 +0100
        Re: Automatically doing something if logged in Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-23 08:46 +0100
          Re: Automatically doing something if logged in Arno Welzel <usenet@arnowelzel.de> - 2016-02-23 11:36 +0100
            Re: Automatically doing something if logged in Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-23 21:02 +0100
    Re: Automatically doing something if logged in Arno Welzel <usenet@arnowelzel.de> - 2016-02-23 08:10 +0100

csiph-web