REMOTE_USER set apo CGI script

Filippos Slavik fsla at forthnet.gr
Sat Sep 2 11:40:28 EEST 2000


At 01:40 ðì 2/9/2000 +0300, you wrote:
>On 1 Sep 2000 22:29:20 +0300, Vasilis Vasaitis wrote:
> >  ÁìÜí ñå ðáéäéÜ ìå áõôü ôï e-mail. ÄçëáäÞ ìå ôçí Üëëç åíáëëáêôéêÞ, ôá
> >cookies, ôé, ìÞðùò ìðïñåß êáíåßò íá óôåßëåé ôï cookie ìå e-mail óôïí ößëï
> >ôïõ; ÐñáãìáôéêÜ, äåí ðéÜíù ôï íüçìá ôïõ åðé÷åéñÞìáôïò...
>
>An exeis ena site dynamika paragomeno, kai kaneis URL rewriting,
>kapoios pou blepei mia selida kai 8elei na pei se kapoion allo
>na dei thn idia selida, pws 8a to kanei?

Yparxoun merikoi tropoi. Omws tha eprepe prin na anoiksoume tetoia koubenta na:

[1] Orisoume ti akribws ennouwme URL Rewritting - 'h mallon me poio tropo 
to xrisimopoioume kai gia poio logo to xrisimopoihoume.
[2] Na elpizoume pws den parabiazoume thn netiquete tis listas mias kai 
arxizw na nomizw pws to thema einai out-of-topic :-)

Gia na mhn parabiasw to [2] tha elega sta grhgora pws an to legomeno URL 
Rewritting efarmozetai mono gia session support (kai efaromozetai swsta) to 
link se kapoio dynamika paragomeno document tha mporouse na einai 
http://www.xxx.gr/servlet/resource;jsessionid=rrag27o1t1?resid=1212
(to link auto einai parmeno apo yparkto project kai einai implemented me 
servletakia ). Den blepw ton logo giati auto to URL den tha mporouse na 
stalei opws einai se kapoion. To mono "skoupidi" kai sigoura pleon 
non-valid element sto URL einai to jsessionid. An to servletaki einai swsta 
grammeno tote h yparksei enos invalidated pleon session id panw sto URL den 
tha eprepe na dhmiourgei problimata. To sygkekrimeno servletaki, tha dei 
pws to session einai "dead" kai tha perasei ton xrhsth apo mia forma (gia 
authorization purposes kai terma).

Epishs, an tha thelame na eixame mia "katharh" lysh, tote kaneis den mas 
apogoreuei, na kanoume generate ena wraio link tou styl "send this URL to a 
friend", opou tha mporousame na apalaksoume to current URL apo opoiodhpote 
"skoupidi" kai na afisoume panw tou mono ta akrws aparaithta ... px 
http://www.xxx.gr/servlet/resource?resid=1212

Twra sxetika me ton [1] kapoios filos tis listas, egrapse:

"Oxi, alla xreiasthke na steilw se synergath to URL enos keimenou pou
briskotan se enan closed-user-group-server kai htan ths morfhs
http://xxx.xxx.xxx/KDGHEI56345LMGNDDDO745325.doc
"
To mono pou exw na pw einai pws to parapanw URL-paradeigma den exei kamia 
apolytos sxesh me URL Rewritting gia session tracking.
Kai gia na teleiwnw, parapempw sto poly kalo biblio tou Jason Hunter "Java 
Servlet Programming", selida 200 :-)

Filika
Filippos Slavik


################################################################
Filippos Slavik
Forthnet R&D, Hrakleio, Greece
e-mail : fsla at forthnet.gr
phone : (+3) 081 391230
################################################################

"The software said 'runs on Win95 or better,' so I installed it
on Linux..."



--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list