php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #25609 feature request: sess_url_rewrite
Submitted: 2003-09-19 14:21 UTC Modified: 2003-09-20 08:19 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: underley at underley dot eu dot org Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.3.3 OS: any
Private report: No CVE-ID: None
 [2003-09-19 14:21 UTC] underley at underley dot eu dot org
Description:
------------
I think, that rewrite url function to add session id can be very helpful


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-19 23:34 UTC] sniper@php.net
No idea what this is about..try adding some example.
(there is already trans-sid?)

 [2003-09-20 04:48 UTC] underley at underley dot eu dot org
trans-sid rewrite only urls in generated page, but not in headers. Example:

$url_page1 = 'http://some.domain.pl/some-page.php';

[... some code ...]

if ($something) {
    header('Location: ' . sess_url_rewrite($url_page1));
}
 [2003-09-20 06:40 UTC] sniper@php.net
Just use SID constant there..and RTFM.

 [2003-09-20 08:19 UTC] underley at underley dot eu dot org
I think $url . '?' . SID is dirty construction.
Add "userspace" interface to function session_adapt_url from ext/session/session.c will be cleaner.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 01:01:28 2024 UTC