Usage of Canvas' #select and #labels

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Usage of Canvas' #select and #labels

Boris Popov, DeepCove Labs (SNN)
Re: [Seaside] Usage of Canvas' #select and #labels

Thanks a bunch, as always!

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: Seaside - general discussion <[hidden email]>
Sent: Sat Apr 14 01:17:49 2007
Subject: Re: [Seaside] Usage of Canvas' #select and #labels

Boris Popov a écrit :
> Even worse, if I happen to have SeasideBase parcel somewhere in the
> path, it loads fine, but the result is a herd of overrides of various
> kinds :)
>
>  
Yes, I know that and this is why the pre-req should be absent when
publishing to Store.

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Usage of WASession>>sessionCookie

Sophie Server
In reply to this post by Rick Flower
Hello everyone,

I've just experienced some difficulties to implement a "Keep me logged in" mechanism.

I want to use the "out - of - the box" - Session Cookie in order to have the session id of the current user stored in a cookie on the local machine, and the same session id stored into the database on my server.

When starting a new session I thought of comparing the last session id of the user in my database and the "local" last session id read out if the cookie. If both match then the User could be logged in without password confirmation.

The Problem with that built-in session cookie that it is set automatically with every new session, that means that the principle described above, does not work properly.

To fix that I use a second cookie to store the old session Id - on demand (Keep me logged in is selected), but this was way is  highly redundant from my point of view:(.

Finally, my actual Question: What is the actual use of that built-in session cookie? Can I set it manually on demand? Or am I on a completely wrong way?

Thanks to all,

Norman Holz



--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Usage of WASession>>sessionCookie

Philippe Marschall
2007/5/7, Sophie Server <[hidden email]>:

> Hello everyone,
>
> I've just experienced some difficulties to implement a "Keep me logged in" mechanism.
>
> I want to use the "out - of - the box" - Session Cookie in order to have the session id of the current user stored in a cookie on the local machine, and the same session id stored into the database on my server.
>
> When starting a new session I thought of comparing the last session id of the user in my database and the "local" last session id read out if the cookie. If both match then the User could be logged in without password confirmation.
>
> The Problem with that built-in session cookie that it is set automatically with every new session, that means that the principle described above, does not work properly.
>
> To fix that I use a second cookie to store the old session Id - on demand (Keep me logged in is selected), but this was way is  highly redundant from my point of view:(.
>
> Finally, my actual Question: What is the actual use of that built-in session cookie?

Store the _s value (Seaside session id) in a cookie rather than an
URL. Nothing about "stay logged in", database sessions, userids,
persistent sessions whatsoever.

> Can I set it manually on demand?
What do you mean which that? In the middle of a session switch from _s
to a cookie or decide at the start of a session whether you want to
use a session cookie or not?

> Or am I on a completely wrong way?

Cheers
Philippe

> Thanks to all,
>
> Norman Holz
>
>
>
> --
> "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
12