You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by ktgoh <kt...@newstakes.com> on 2001/05/17 04:04:30 UTC
How to change all the url of a particular website.. (append session id)
Hi .
Hmm since i cannot get the cookie set by another URL....Do you have any
other suggestions for my problem.
Current, i intend to pass the session id via the url.
But the problem is let say first time i pass a url
http://www.nus.edu.sg?sessionid=eeddffg
i could get the sessionid from my mod perl module..
But subsequently, the value of the sessionid id is lost, as it proceed to
get other request type(eg image).
I intend to intercept the first request, and append the sessionid to the
other requests before it is lost.
Do your have any idea how to do?
Thanks
kheeTEck
----- Original Message -----
From: <ji...@pop.prodigy.net>
To: <kt...@newstakes.com>
Sent: Thursday, May 17, 2001 12:07 AM
Subject: RE: Fw: How to get cookie from a mod_perl proxy
You cannot get a cooking that was set by another URL.
Original Message:
-----------------
From: ktgoh ktgoh@newstakes.com
Date: Mon, 14 May 2001 19:35:08 +0800
To: modperl@apache.org
Subject: Fw: How to get cookie from a mod_perl proxy
> Hi, I am writing a perl_mod script for apache that will act as a proxy to
> intercept all requests that comes through my proxy. I want to set a cookie
in
> the client's browser (to store a session ID) and retrieve it each time the
> user make a request to other URL (assuming he has set my proxy as his
proxy in
> his browser configuration).
>
> My question is: Am i able to get the cookie i have set, from the client? I
can
> set the cookie for the client, but I have not been able to retrieve it so
> far:(. Any help here is much appreciated.
>
> Regards,
> Firestar
>
>
--------------------------------------------------------------------
Mail2Web - Check your email from the web at
http://www.mail2web.com/ .