similar to: [noob] params vs query string

Displaying 20 results from an estimated 20000 matches similar to: "[noob] params vs query string"

2006 Apr 27
2
Noob Design Question
I have chunk of data that I need for the life of the session. I am going to use it for selects through out my app. Is the best place to keep this data in the session? Is the session easily spoofed or cracked? While viewing the data is not critical in itself, spoofing it could cause me massive headaches. -- Posted via http://www.ruby-forum.com/.
2007 Sep 25
13
Session cookies not passed on first redirect
Hello Campers! Is it just me or does Camping init the session twice on a redirect? If I have an app and when the user visits it for the first time, a session is generated. Afterwards I redirect the user in a service (that basically does auth) and he gets bounced to the login page - but when I arrive at the login page my SID somehow has changed :-( so there is a stale session dangling
2008 May 08
1
query strings built by R method can''t handle multiple values from checkbox selections
query strings built by R method can''t handle multiple values from checkbox selections R(SomeRoute, :reply_status=>%w{1 2 4}) should return query_string=" http://localhost:3301/someroute/?reply_status_id=1&reply_status_id=2&reply_status_id=4 " qsp(query_string) -> {"reply_status_id"=>["1", "2", "4"]} from
2006 Apr 11
0
Page cache and query string
I''ve read about the problems of using page cache when there''s a query string, i.e. /article/list?page=1 will cache /article/list.html, then /article/list?page=5 will retrieve /article/list.html regardless of query string. I''m using a workaround, it looks almost obvious but since I haven''t found it mentioned anywhere I''m afraid there''s some
2006 Mar 03
1
arrays in model objects
Having a dumb model object like def MyModel attr_accessor :property def initialize @property = Array.new end end when it is used for for interaction by "@object = MyModel.new" and then used in view as <%= text_field ''object'', ''property'' %> shoudn''t it be rendered as?: <input type="text"
2006 Jan 24
1
Query String in routes.
Is there any way to access the query string full request uri in routes.rb? I''d like to route requests for those going after my old application urls to my new rails application urls. The old app used /wiki.cgi?PageName The rails app uses /wiki/show/PageName Like... map.connect ''wiki.cgi'', :controller => "wiki", :action => "show", :id =>
2006 Jul 05
8
Beating the authentication horse (dead yet?)
Guys, I''m frankly overwhelmed by the number of Rails authentication options(?) out there...from ActiveRBAC to acts_as_authenticated to LoginEngine and so on...so many options, yet on resource I''ve found really distinguishes between each. This is sad, as authentication and user management is really an area where some Rails simplicity pixie dust could be a real boon to
2006 Jan 11
0
NOOB - How do I query other databases for data
Hi All, I''m trying to wrap me head around how I could use Rails for a particular app that I''ll be designing that involves multiple legacy databases that I''ll need to query and update. Basically, it''s a financial services type of app where a customer will log in and be able to check/manage the varied types of accounts that they have. Sounds simple enough
2016 Feb 02
3
samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
Am Dienstag, 2. Februar 2016, 09:51:03 CET schrieb Rowland penny: > On 01/02/16 22:24, Markus Dellermann wrote: > > Hi at all, > > > > i´am using samba 4.3.4 as "ad", "migrated by classicupgrade" some time ago > > from an nt4-domain. > > > > By trying > > samba_upgradedns --dns-backend=BIND9_DLZ > > > > i get the
2006 Jan 19
2
NOOB: Using locals to pass data to a SQL query
I want to show a users entries based on there login id. I have tried this: View: <div id="myfish"> <%= render :partial => ''myfish'', :locals => {:user => session [:user].id } %> </div> Partial: <% for entry in @entries %> <table border ="0" CELLSPACING="0"> <tr class="<%= alternate
2019 Jul 23
4
[libnbd PATCH] api: Allow completion callbacks to auto-retire
When using the nbd_aio_FOO_callback commands, there is nothing further to be learned about the command by calling nbd_aio_command_completed() compared to what the callback already had access to. There are still scenarios where manually retiring the command after the fact is useful (whether the return was 0 to keep the status unchanged, or -1 to alter the retirement status to *error), but by
2017 Dec 04
1
[nbdkit PATCH] nbd: Fix sporadic use-after-free
Now that we properly clean up 'trans' in the reader thread, we must not dereference 'trans' from the write thread at any point after trans has been added to the list unless we have grabbed it back off the list ourselves, or we risk an occasional use-after-free or even double free that valgrind can detect. Reported-by: Richard W.M. Jones <rjones@redhat.com> Fixes:
2007 Feb 05
2
adding a cookie
hi there, I''m not sure if it is better to use the ml or the forum so I ended to post on both ... I''m trying to login into a page that is using javascript to set a cookie: <script language="JavaScript"> {text "\n" " \n" " \n" " document.cookie = ''vhp_js=v995105608h85339294p;path=/;domain=.venere.com;expire=0'';
2008 May 17
4
Setting cookies in service overloader thingo
I''m implementing a simpler version of the Cookie Session Store in Rails 2.0. If you know what that is, skip the next paragraph. A cookie session store stores the session data inside cookies, on the client, and signs them using a secret string, hashed together. The user can decode the cookie easily if they know much about computers and see what''s inside, but they
2001 May 02
1
Problems getting Diablo2 to run
Hello everyone, I'm trying to run Diablo2 version 1.06 on SuSE Linux 6.4 (kernel 2.4.2) with WINE 20010418. Both the contents of the windoze installation and the game have been copied over the network from another machine where everything works happily. When I run the game nothing really seems to be happening. With tracing enabled I can see that after some initialization the game just spins
1999 Nov 28
2
gnuclient X11 & openssh
The following message is a courtesy copy of an article that has been posted to comp.emacs.xemacs as well. [This message has been CC'ed to the OpenSSH list in a plea to at least consider supporting more advanced usages of Xauth] Chris Green <sprout at dok.org> writes: > Its not configurable behavior. It always generates a new random file > in /tmp. Then they should probably
2006 Jan 11
5
Noob - Associated Tables Find Query
I''m trying to write a football prediction game. I have a Matches table and a Predictions table. Each Match :has_many Predictions, and each Prediction :belongs_to a Match Each Match has (amongst other things) a Match.match_date field. Each Prediction has (amongst other things) a User_id field I''m trying to get a list of all Predictions a particular User has made which
2013 Aug 25
2
RCurl cookiejar
R-helpers, When I use cURL in the Terminal: curl --cookie-jar cookie.txt --url "http://corpusdelespanol.org/x.asp" --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20100101 Firefox/23.0" --location --include a cookie file "cookie.txt" is saved to my working directory. However, when I try what I think is the equivalent command R with RCurl:
2019 Jul 30
1
[PATCH nbdkit] nbd: Update for libnbd 0.9.6.
--- configure.ac | 4 ++-- plugins/nbd/nbd.c | 12 +++++++++--- README | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 8c7ee8b..0ce78c7 100644 --- a/configure.ac +++ b/configure.ac @@ -718,12 +718,12 @@ AC_ARG_WITH([libnbd], [], [with_libnbd=check]) AS_IF([test "$with_libnbd" != "no"],[ -
2005 Mar 05
4
''Session id'' hacking?
> Because you mentioned "cookie-hacking": it is very easy to > take over a rails-session if you know the value of the > session-cookie. It is not possible to prevent that easily, > you can just make it harder by encrypting the whole session > (right from the beginning when the user enters the site, > and the cookie is created) by using https. https will encrypted