similar to: setting session id for first visit

Displaying 20 results from an estimated 1000 matches similar to: "setting session id for first visit"

2008 Oct 15
9
Rails sessions working intermittently in IE7
Hello, We are developing in Rails 2.1.0 and serving the files with mongrels behind Apache. We are using SqlSessionStore. Recently I noticed that when logging into our site using IE7 the session doesn''t persist in some situations, and persists when it shouldn''t. For instance when I log in my info is maintained when visiting certain pages, but disappears on others. The info never
2006 Oct 15
1
mongrel_send_file gem plugin
served piping hot fresh from my svn repo: http://svn.techno-weenie.net/projects/mongrel/mongrel_send_file/README == mongrel_send_file GemPlugin This is a simple plugin to handle the sending of secure files from a rails app. Here''s the typical process: - Rails app authorizes user to download file - Rails app sets file info in the session, redirects to custom URL like
2006 May 17
8
Html Email Problem
Dear Rubyians, I am facing problems to send Html Email scnce one month. I changed the content type is text/html and charecter set "utf-8" I worte the html code in the confirm.heml in the action mailer folder. but mail is going with html code Exapmle: <html border="2"> <tr><td></td></tr></html> code in the confirm .html In the
2006 Aug 29
1
First elements of a list.
Suppose I have the following list: a <- strsplit(c("John;Smith", "Jane;Doe", "koda", "gunner"), ";") I want to get to these two vectors without looping... firstNames: c("John", "Jane", "koda", "gunner") lastNames: c("Jane", "Doe", NA, NA) Thanks cn [[alternative HTML
2008 May 13
2
sql_session_store on rails2
Hi We''re in the midst of upgrading our rails 1.2.6 app to rails 2.0. We have been using the sql_session_store plugin for our sessions. I wondering if anyone is still using SqlSessionStore on their rails 2 apps? Is it still worthwhile? Thanks, Ray -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2007 Feb 02
6
Mongrel and MemcacheSessionStore
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey, I''ve been using Mongrel for quite some time now but I ran into an issue that threw me back to lighttpd + fastcgi. The application in question was running fine in the production environment with SQLSessionStore and using a mongrel cluster behind a load balancer. However, by switching to a MemcacheSessionStore (using either
2005 Dec 15
5
site takes a while to load after first visit in a while
Using lighttpd + fcgi to power a site. When no one has accessed it in a while, the first visit to the page takes a while to load up. Then subsequent visits are fairly fast. Any ideas on how to fix it?
2007 Mar 29
2
L options in Dial() dont seem to work....
Hello Asterisk users, Can someone thwack me with a clue stick please? I am following the Asterisk TFOT book Dial() example trying to get the limit and announcements to work as per below. These settings seem to have no effect. There are no warning messages after 4 minutes or every 30 secs thereafter and the call lasts longer than 5 minutes. gunner*CLI> show dialplan [ Context
2011 Aug 24
3
Creating new variable with maximum visit date by group_id
Dear R users, I am encoutering the following problem: I have a dataset with a 'unique_id' and different 'visit_date' (formatted as.Date, "%d/%m/%Y") per unique_id. I would like to create a new variable with the most recent date of visit per unique_id as shown below. unique_id visit_date last_visit_date 1 01/06/2010 01/06/2011 1 01/01/2011 01/06/2011 1
2007 Apr 01
8
No stacktrace on errors (edge rails)
Hi, I must be missing something or have something misconfigured, but I get no stack-trace when there is an error in the code behind a view. If the view doesn''t compile, then I see an error & stacktrace, but all other errors I get a "lost network connection" from the browser, and nothing at all in the server output or development.log. It''s been that way with
2009 Feb 03
1
Can't compile on NSLU2 LE
Hi, I keep getting the following on my slug no matter what version I try (1.2, 1.4, 1.6, 1.6svn): ... make[2]: Leaving directory `/usr/portage/distfiles/svn/trunk/menuselect/mxml' gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a menuselect.o: file not recognized: File format not recognized collect2: ld returned 1 exit status distcc[19221] ERROR: compile (null) on
2007 Mar 19
4
Active session list
Hi all Does anybody know how to get active session list or list of active session ID in RubyOnRails? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this
2013 Jan 29
2
Count entries in postgresql grouped by date
Hi! I have a table with visits with a visited_at: attribute which is a datetime field. They seem to be stored as UTC. Now I want to count all visits each day and return something like: { 2013-01-01: 8, 2013-01-02: 4, 2013-01-07: 9, ... } So, I did it like this which kind of works...: def self.total_grouped_by_day(start_date, end_date) visits = where(visited_at:
2006 Mar 30
1
strange has_many array problem
I have a class that has_many :visits, I want to search through the visits to get only ones that are committed: I thought it would be as easy as: ================== visits.find_all do |visit| visit.coming? end ================= but this always returns the entire list of visits. The only way to get it to work is to put the visits into a new array first: =================
2005 Jun 20
1
(no subject)
R friends, I am using R 2.1.0 in a Win XP . I have a problem working with lists, probably I do not understand how to use them. Lets suppose that a set of patients visit a clinic once a year for 4 years on each visit a test, say 'eib' is performed with results 0 or 1 The patients do not all visit the clinic the 4 times but they missed a lot of visits. The test is considered positive if it
2007 Aug 14
12
ruby on rails web calendar
Does anyone know of a good web calendar that you can use to display appointments, dates, anniversaries, birthdays, recurring appointments, appointments spanning multiple days? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2003 Sep 27
1
A re-sampling problem
I plan on analyzing some bird point count data. I need to develop a re-sampling regime for data like this. I used scan(file="Sample.txt",what=list(0,0,0,0,0,0),sep="\t") [[1]] [1] 1 2 3 4 5 [[2]] [1] 6 7 8 9 NA [[3]] [1] 10 11 12 13 NA [[4]] [1] 14 15 16 NA NA [[5]] [1] 17 18 19 20 21 Each row represents one site and the numbers (1-21) are visits to that site.
2008 Sep 10
1
Mixed effects model with binomial errors - problem
Hi, We released individual birds into a room with 2 trees. We counted the number of visits to each of the 2 tree. One of the trees is always a control tree and the other tree is either treatment 1, treatment 2 or treatment3 or treatment 4. Ind Treat ContrTree ExpTree Total visits 1 1 11 16 27 1 2 6 9 15 1 3 5 13 18 1 4 11 25 36 2 1 2 3 5 4 1 6 7 13 4 3 4 4 8 4 4 2 5 7 6 1 1 1 2 6 4 5 16 21
2005 Sep 14
4
How to drag/drop visitable anchors ?
Hi ! I have the following: <li id="photo_<%= @photo.id %>" class="photo"> <%= link_to(image_tag(url_for_file_column(:photo, :picture)), {:action => ''photo'', :id => @photo}, {:title => @photo.description}) %> </li> <script type="text/javascript" language="JavaScript"><!--
2003 Jan 20
2
Adding reference lines to xyplot
I'm trying to add a set of reference lines to a multipanel xyplot xyplot(y ~ x | Visit, panel = function(x, y, ...){ panel.xyplot(x, y, ...) abline(v = c(0.5, 1)) }) However, the reference lines are different for different visits. For example, for the first 2 visits, I'd like vertical lines at x = 0.5 and 1. For visits 3 and four, I'd like vertical lines at x = 1 and 1.5. I can