Lost Session variables with shadowbox

3 messages Options
Embed this post
Permalink
Aymeric

Lost Session variables with shadowbox

Reply Threaded More More options
Print post
Permalink
Hi,

I discovered that shadowbox makes my site loosing session variables.
In my header I simply got:

 <link rel=\"stylesheet\" type=\"text/css\" href=\"js/shadowbox.css\">
 <script type=\"text/javascript\" src=\"js/shadowbox.js\"></script>
 <script type=\"text/javascript\">
 Shadowbox.init({
     language:   \"fr\",
     players:    [\"img\"]
     });
 </script>

When I navigate on my site (identified by a user/pass), after viewing the first image with shadowbox, the session is lost.

I tried several things, but don't found the problem.

note: it works well with thickbox. I suspect a CSS problem, but don't find exactly what's wrong.

Please help.

cheers
Aymeric

Re: Lost Session variables with shadowbox

Reply Threaded More More options
Print post
Permalink
Solved the problem in replacing the package shadowbox.js by the website shadowbox.js:
http://www.shadowbox-js.com/source/shadowbox.js
Aymeric

Re: Lost Session variables with shadowbox

Reply Threaded More More options
Print post
Permalink
Nope, the problem is not solved.
I still have my session variables emptied when I shadowbox an image