Hi,

I am using embperl 1.3.5b and Apache::Session 1.52

Before I could not get sessions to work at all but starting from this combination it worked fine, that is, until I stared using frames.

I have a frameset calling 2 normal html pages and 1 embperl page. (hello.html) The framename is main_content

This hello.html includes another embperl page headers.html which checks if a user has logged in.
If the user is not logged in I redirect him to the login page.

$http_headers_out{'Location'} = "/login.html","main_content"; (I am not sure if the ,"main_content" has any function but I tried it without first and it makes no difference)
(if I put a link href="/login.html" the same happens)
The nasty thing is that this page suddenly has a different _session_id and when reading the HTTP_COOKIE there is no EMBPERL_UID set the first time I access this login.

I also get double cookie entries after I have visited to loginpage and go back to the first page (hello.html)

HTTP_COOKIE = EMBPERL_UID=84a7d136137c396b3add370fde0f05db; EMBPERL_UID=6c0698003d81e370253e5e2f5d6a57f4
Which seems strange?
Is there any solution to this problem?
I get the impression that Embperl or Apache:Session sees the redirect/link as a different browser?
Help?

Regards

Hans de Groot


------
Hans de Groot
Interspective Internet Services B.V.
Tel: +31 (0) 30 6001180
Fax +31 (0) 30 6044204
www:   http://www.interspective.nl
email:   [EMAIL PROTECTED]

Reply via email to