in reply to CGI::Session->flush() fails to store session data in file store

Hmm. What's in your param("www.dashboard") ? could it be that there's something odd about the contructed $url (i.e. multiple '?' or a missing '/') ? I'd warn $url and look into the apache error log.

Also, the preferred method to pass a session-ID is in a cookie, not in http query parameters.