# Login ticket

**URL:** <https://www.ruby-forum.com/t/login-ticket/125147>\
**Category:** Rails\
**Created:** [January 6, 2008, 7:12am UTC](https://www.ruby-forum.com/t/login-ticket/125147 "2008-01-06T07:12:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [January 6, 2008, 7:12am UTC](https://www.ruby-forum.com/t/login-ticket/125147/1 "2008-01-06T07:12:27Z")

</div>

Hello frnds

I want a plugin which will help me to generate a random ticket no

A login ticket should automatically generated pass code, an expiration  
date, and a user who may log in with the pass code. It should provide  
functions for generating, retrieving and deleting login tickets, as well  
as checking validness of a given pass code and, given a valid code  
(while not requiring username and password), logging the concerned user  
in.

is there ne such thing available?

Awaiting Reply

Thanking You

Dhaval P.

---

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [January 6, 2008, 7:25am UTC](https://www.ruby-forum.com/t/login-ticket/125147/2 "2008-01-06T07:25:16Z")

</div>

Dhaval P. wrote:

> is there ne such thing available?

Not that I’ve seen. Sounds like a good opportunity for you to write one  
though. =)

Realistically though, it sounds like you want your standard user  
authentication with an expiration date. There are quite a few  
authentication plugins available. I suppose you could install one and  
hack it a bit to include your expiration needs.

Try this:  
[http://wiki.rubyonrails.org/rails/pages/Authentication](http://wiki.rubyonrails.org/rails/pages/Authentication)

And for future reference, try this:

> **[Google](https://www.google.com/)**
>
> Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
