# Accessing sessions?

**URL:** <https://www.ruby-forum.com/t/accessing-sessions/113909>\
**Category:** Radiant CMS\
**Created:** [September 6, 2007, 2:34am UTC](https://www.ruby-forum.com/t/accessing-sessions/113909 "2007-09-06T02:34:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [September 6, 2007, 2:34am UTC](https://www.ruby-forum.com/t/accessing-sessions/113909/1 "2007-09-06T02:34:31Z")

</div>

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.  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [September 6, 2007, 6:06am UTC](https://www.ruby-forum.com/t/accessing-sessions/113909/2 "2007-09-06T06:06:52Z")

</div>

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](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [September 7, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/accessing-sessions/113909/3 "2007-09-07T18:35:16Z")

</div>

Edwin V.'s secure\_pages extension works for me  
[http://code.google.com/p/secure-pages/](http://code.google.com/p/secure-pages/)

in 0.6.2 in development mode with the cache fix as described by David  
Piehler [Extensions and sessions - Radiant CMS - Ruby-Forum](http://www.ruby-forum.com/topic/116010)

–  
Mark A. Yoon  
Senior Web Applications/Software Engineer, Northwestern Radiology  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [September 8, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/accessing-sessions/113909/4 "2007-09-08T17:00:15Z")

</div>

There is also the subscriber extension:

[http://darcs.bigchieflabs.com/radiant/extensions/subscriber/](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 😛

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [September 7, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/accessing-sessions/113909/5 "2007-09-07T19:04:22Z")

</div>

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

–  
Travis B.  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [September 9, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/accessing-sessions/113909/6 "2007-09-09T18:44:41Z")

</div>

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

- Andrea F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) [2007-09-08 16:59:10 +0200]:

> > [Google Code Archive - Long-term storage for Google Code Project Hosting.](http://code.google.com/p/secure-pages/)  
> > On 9/5/07, John W. Long [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > the list.
> > 
> > * * *
> > 
> > Radiant mailing list  
> > Post: removed\_email\_address@domain.invalid  
> > Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> > Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)
> 
> * * *
> 
> Radiant mailing list  
> Post: removed\_email\_address@domain.invalid  
> Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](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 removed\_email\_address@domain.invalid  
KOREA

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [September 10, 2007, 12:44am UTC](https://www.ruby-forum.com/t/accessing-sessions/113909/7 "2007-09-10T00:44:26Z")

</div>

On 9/9/07, Saji Njarackalazhikam H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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](http://localhost:3000/subscriber/account/signup)

…and here the login:

[http://localhost:3000/subscriber/account/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 😛 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  
🙂

- andrea

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [September 11, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/accessing-sessions/113909/8 "2007-09-11T20:26:33Z")

</div>

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!  
🙂

Best wishes,

saji  
…

- Andrea F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) [2007-09-10 00:43:21 +0200]:

> First you need to migrate the extension:
> 
> Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](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 removed\_email\_address@domain.invalid  
KOREA
