Hi, 2 ways: * before sending the output do a =~ s#(http://[^/]+/)([^\s>]*)#$1/$sessionid$2#i * or the cleaner way: don't use absolute URLs for your links. (but use them for all images) cu Michael PS: I hope you put the session id before the path part of the URL? It's much easier to maintain... Datum: 18.05.2001 05:33 An: "mod_perl" <[EMAIL PROTECTED]> Betreff: Appending Session ID behind URL Nachrichtentext: Hi all: I have a textbox in the HTML page which allows users to enter url. After the user click submit, i append the sessionid at the tail of the url. My qn is. how do i append all the links for that page with the sessionid. In my Apache module sub handler{ $r = shift; $query = $r->uri; } i notice the first time i manage to get the sessionid from the $query, after that the value is lost due to the many request that comes in. How do i append the session ID to all the url before the response is sent out to the client. Thanks All help appreciated Firestar
Hi all:
I have a textbox in the HTML page which allows
users to enter url.
After the user click submit, i append the sessionid
at the tail of the url.
My qn is.
how do i append all the links for that page with
the sessionid.
In my Apache module
sub handler{
$r = shift;
$query =
$r->uri;
}
i notice the first time i manage to get the
sessionid from the $query, after that the value is lost due to the many request
that comes in.
How do i append the session ID to all the url
before the response is sent out to the client.
Thanks
All help appreciated
Firestar
|