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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: underley at underley dot eu dot org
New email:
PHP Version: OS:

 

 [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

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: Thu Sep 12 02:01:26 2024 UTC