Accessing sessions?

Hey guys,

This has been mentioned a couple of time it seems but we are finding
it next to impossible to create and use new sessions with Radiant.

Is this on purpose or something that wasn’t quite realized until
after the extension abilities were released?

Thanks!


Travis B.
[email protected]

Travis B. wrote:

This has been mentioned a couple of time it seems but we are finding
it next to impossible to create and use new sessions with Radiant.

Is this on purpose or something that wasn’t quite realized until
after the extension abilities were released?

It’s intentionally turned off. Radiant not really designed for Web sites
that support user sessions. Several people have attempted to fix this
problem, but I’m not sure of the results. I’d recommend that you search
the list.


John L.
http://wiseheartdesign.com

Edwin V.'s secure_pages extension works for me
http://code.google.com/p/secure-pages/

in 0.6.2 in development mode with the cache fix as described by David
Piehler http://www.ruby-forum.com/topic/116010


Mark A. Yoon
Senior Web Applications/Software Engineer, Northwestern Radiology
[email protected]

There is also the subscriber extension:

http://darcs.bigchieflabs.com/radiant/extensions/subscriber/

It adds a new login/signup system for subscriber, and let to create
pages that only logged
subscriber can see…but the code is old…I’ll work on it asap :stuck_out_tongue:

Thanks for posting this. I didn’t see it before.


Travis B.
[email protected]

Andrea,

Your subscriber extension seems to be what I am looking for. I
downloaded the
tar files and extended my Radiant 0.6.2.

Sorry for my naive question: “How do
I use it?”. What does a person need to do to have a login to my site
that has
the subscriber extension installed? Some instructions would be very
helpful.

thanks,

saji

http://code.google.com/p/secure-pages/
On 9/5/07, John W. Long [email protected] wrote:

the list.


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [email protected]
KOREA

On 9/9/07, Saji Njarackalazhikam H. [email protected] wrote:

Andrea,

Your subscriber extension seems to be what I am looking for. I downloaded the
tar files and extended my Radiant 0.6.2.

Sorry for my naive question: “How do
I use it?”. What does a person need to do to have a login to my site that has
the subscriber extension installed? Some instructions would be very helpful.

First you need to migrate the extension:

rake radiant:extensions:subscriber:migrate

Then launch your server and the signup page is here:

http://localhost:3000/subscriber/account/signup

…and here the login:

http://localhost:3000/subscriber/account/login

Now create a page and set Subscriber as page type. This page and all
its children require login.
Remember that the code is very old :stuck_out_tongue: and tests have some problem…
I’ll work on Subscriber extension asap…but now I can’t.
If you want read the code…and improve it for your needs…let me know
:slight_smile:

  • andrea

Hi Andrea,

Thanks a lot. The subscriber extension worked right off the shelf (I did
not
run the tests though). I guess some items are hard-coded, for instance
the
confirmation message that the subscriber recieves (but I guess I can
look
at the code and modify it). Also some work may be needed to integrate
the looks of
the login page with the rest of the website (again I am sure this
must be relatively easy to do).

Anyway, thanks a lot for your nice extension. It is very useful to me!
:slight_smile:

Best wishes,

saji

First you need to migrate the extension:

Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [email protected]
KOREA

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs