Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-10

fpweb - SessionDir bug?

12 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

patspiper

The cookiesession demo project does not create any files in the /tmp folder (Ubuntu 10.04). This could be a permissions issue. I uncommented and set S.SessionDir in the cookiesession demo project to a folder which is writable by all, with no results!

Is it a bug?

Stephano

Reply by email

Michael Van Canneyt
to patspiper
patspiper wrote 6 lines
The cookiesession demo project does not create any files in the /tmp folder (Ubuntu 10.04). This could be a permissions issue. I uncommented and set S.SessionDir in the cookiesession demo project to a folder which is writable by all, with no results! Is it a bug?

Well. Normally, /tmp should be writable by all.

I use session cookies extensively (also ubuntu 10.04) and all works well.

I will test the session support demo and report.

Michael.

Reply by email

ABorka
to patspiper: The cookiesession demo project does not create any files in the /tmp folder (Ubuntu…

It works here.
I am also using session cookies from fpweb and they are working here (windows and ubuntu in VMWare).
Even have some working projects on go daddy hosting where I even changed the session dir to be under the cgi program so I can check/delete the session cookie files.

AB

PS: Just a thought... you are allowing cookies in your browser from that site you are testing with right?

patspiper wrote 15 lines
The cookiesession demo project does not create any files in the /tmp folder (Ubuntu 10.04). This could be a permissions issue. I uncommented and set S.SessionDir in the cookiesession demo project to a folder which is writable by all, with no results! Is it a bug? Stephano -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

patspiper
to ABorka: It works here. I am also using session cookies from fpweb and they are working here…
ABorka wrote 7 lines
It works here. I am also using session cookies from fpweb and they are working here (windows and ubuntu in VMWare). Even have some working projects on go daddy hosting where I even changed the session dir to be under the cgi program so I can check/delete the session cookie files.

Which hosting plan are you using?

PS: Just a thought... you are allowing cookies in your browser from that site you are testing with right?

Cookies are allowed of course

Reply by email

patspiper
to ABorka: It works here. I am also using session cookies from fpweb and they are working here…
ABorka wrote 7 lines
It works here. I am also using session cookies from fpweb and they are working here (windows and ubuntu in VMWare). Even have some working projects on go daddy hosting where I even changed the session dir to be under the cgi program so I can check/delete the session cookie files.

Which hosting plan are you using?

PS: Just a thought... you are allowing cookies in your browser from that site you are testing with right?

Cookies are allowed of cours

Reply by email

patspiper
to ABorka: What is your FPC and Lazarus version btw?
ABorka wrote
What is your FPC and Lazarus version btw?

I use FPC 2.4.0, Lazarus SVN r27800

I tried to use 2.5.1 but hit several snags, so I am not sure whether the test utilized 2.5.1 or not. I will create a separate thread for this issue. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101022/946335fb/attachment.html>

Reply by email

patspiper
to Michael Van Canneyt: Well. Normally, /tmp should be writable by all. I use session cookies extensively (also…
Michael Van Canneyt wrote
Well. Normally, /tmp should be writable by all.

It is indeed

Show quoted text 5 lines
I use session cookies extensively (also ubuntu 10.04) and all works well. I will test the session support demo and report. Michael.

Maybe due to using FPC 2.4.0?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101022/4f6f9f28/attachment.html>

Reply by email