Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default_process_scope has a bad behaviour #62

Closed
tobiasBora opened this issue May 1, 2014 · 3 comments
Closed

default_process_scope has a bad behaviour #62

tobiasBora opened this issue May 1, 2014 · 3 comments

Comments

@tobiasBora
Copy link

Hello,

In this page: http://ocsigen.org/eliom/manual/server-state that variables with the scope Eliom_common.default_process_scope are identical when they are in the same tab. However it's not the case, and default_process_scope behaves like default_session_scope (all tabs in a single browser).

Here is an example: https://gist.github.com/tobiasBora/bb244fe31570ea82f8e8
And to compile it: http://pastelink.me/dl/b06c4f

Thank you for your work,

Tobias.

@balat
Copy link
Member

balat commented May 1, 2014

Hello!

Can you check that in your program the foloowing line is correct:

 p [pcdata (Printf.sprintf "Eref proc (tab) : %d" c_proc)];

The code you send is using c_session instead of c_proc.

Vincent

@tobiasBora
Copy link
Author

Oh I'm so stupid, I made a bad copy/paste so the error... I looked during one hour to find an error on the top of my code but I didn't check this line.

I'm really sorry, it perfectly works in fact !

Thank you, and sorry again.

@kit-ty-kate
Copy link
Member

I guess I can close this issue then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants