Re: Problem: lost session id when htaccess'ing.
| From: | Chris Lee | Date: | Tue, 18 Sep 2001 16:28:30 +0000 |
| Subject: | Re: Problem: lost session id when htaccess'ing. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67718@lists.php.net to get a copy of this message | ||
- you have cookie support on or off ?
- you using any header redirects ? (you have to manually add the SID to
URI's)
send some src and a link. lets see whats going on.
--
Chris Lee
lee@mediawaveonline.com
"Lic. Rodolfo Gonzalez Gonzalez" <rodolfo@equinoxe.g-networks.net> wrote in
message
news:Pine.LNX.4.33.0109171634540.4096-100000@equinoxe.g-networks.net...
> Hello,
>
> I have a problem with sessions: I have php with sessions autostarting,
> compiled with transid support. I have a homepage with a link to another
> page protected via Apache's htaccess. Well, the href's in the homepage get
> the correct SID=<md5 session id>, then I click the link, I give login and
> password, Apache checks and accepts the data, but then in the next page I
> get a new session_id value!! (as if the SID passed in the URL were being
> lost!). I guess this is not normal. What can I do?.
>
> Many thanks in advanced.
> Rodolfo.
>
> P.S. apache-1.3.20, custom mod_mysql_auth, php-4.0.8-dev (latest snapshot,
> 4.0.6 had a bug in the imap code, and I haven't returned to 4.0.5 yet).
>
>