Re: Auth and session
| From: | Ciprian Asmarandei | Date: | Thu, 18 Apr 2002 05:04:01 +0000 |
| Subject: | Re: Auth and session | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1170@lists.php.net to get a copy of this message | ||
oh. sorry. that was a typo. it's like you wrote:
$PHP_SELF."?PRJSID=".$HTTP_GET_VARS["PRJSID"] or
"somepage.php?PRJSID=".$HTTP_GET_VARS["PRJSID"]
But when i click whatever link like this, i get the login form as if i
havn't logged in.
It seems that the session is not passed to the other pages.
If i click the refresh button in the browser, variables and session are
passed but not when i click a link.
Do you know how to get around this problem?
Ciprian.
"Michael Virnstein" <michael.virnstein@brodos.de> wrote in message
news:20020417150156.46744.qmail@pb1.pair.com...
> hmmm..perhaps because you call the variable PRJSID
> but you send PHPSESSID to the next page?
>
> perhaps this could work:
> $PHP_SELF."?PRJSID=".$HTTP_GET_VARS["PRJSID"]
>
> Regards Michael
>
> "Ciprian Asmarandei" <ciprian.asmarandei@grafix.ro> schrieb im Newsbeitrag
> news:20020416073110.46431.qmail@pb1.pair.com...
> > Hi,
> >
> > I would like to know how to propagate my variables using the session
> > provided by PEAR Auth.
> > I want to register my variables and use them when I click the links on
my
> > page.
> > I tried using $HTTP_GET_VARS or $HTTP_COOKIE_VARS.
> > The link looks like this:
$PHP_SELF."?PHPSESSID=".$HTTP_GET_VARS["PRJSID"]
> > If I click this link, the login form appears.
> > Please help me.
> >
> > Thanks,
> > Ciprian Asmarandei
> >
> >
> >
>
>