Question: How can I query the Mac OS X keychain to retrieve only session items ?

When I try to get all items like this :

```
[SSKeychain accountsForService:nil];

```

A session item and a system item have exactly the same attributes for the keys : acct, cdat, class, crtr, labl, mdat, svce

How can y query the keychain to get only session items or distinguish them ?

Thank you for your help !

Answer: 
I think using Link\_to as below would be much more simpler even when you have a big block including multiple tags:

```
<%= link_to desired_path do %>
    <div class="linkable">
        <another div>
             ... some other tags
        </another div>
    </div>
<% end %>

```

and I recommend you to use a different background color for mouse over events because it shows the viewer that it's a link!

In you .css file:

```
.linkable:hover{
    background-color: red;
}

```
Im so surprised to see that no one came up with the regular way of doing it in Rails.

```
<%= link_to image_tag("/images/1.jpg",:size => "340X340"),index_by_dvp_domain_path %>

```