Hi

after logging in, using pgv and logout again:

When I try to log in a second time, I get only blank screen from pgv (the drupal template is visible). At that state, im logged in to drupal but cannot log in to pgv.

First attempts were to restart browser, which worked well, but i had to log in to drupal again.

I think something goes wrong with the cookie "pgv_permissions", because if I delete the cookie (FF and opera offer such functionality), and hit F5 (refresh) on the "empty" page, pgv loads as expected.

A solution could be to delete the cookie when logging out from drupal and/or pgv.

Can someone verify that?

Regards, Sebastian.

Comments

dixieau’s picture

Hi Sebastian, that is pretty much confirmed by reading the other bug issues, this one in particular http://drupal.org/node/108050 to name one thread.

The best policy I have dicovered for testing and re-testing access to pgv is to use different browsers but with FF if you delete the cookie and make sure it wasn't added to the blocked list when it was deleted you can log back in.

I don't seem to have the cookie problem whilst using Opera or IE only FF, so now I have one browser each for Guest/my login/ test login and I don't switch users between them so I don't have any problems.

I also implemented the change by #9 submitted by chandlben on January 29, 2007 - 00:37 in the above thread and all has been well since.

Good luck

texnofobix’s picture

In drupal.php

I added the following line.

if (!$permissions = @unserialize(@base64_decode($_COOKIE['pgv_permissions']))) {
echo "Cookie problem";
exit;
}

I have to delete the cookie and restart the browser to remove the cookie. Most likely an intercepting script needs to run to clear the cookie in drupal.

karens’s picture

Status: Active » Fixed

Should be fixed in latest commit. Sorry for the long delay in responding!

Anonymous’s picture

Status: Fixed » Closed (fixed)