similar to: Session Reset when clicking back button of the browser

Displaying 20 results from an estimated 10000 matches similar to: "Session Reset when clicking back button of the browser"

2009 Jun 22
4
modal validation not works
Hi everyone, i have 20 fields in users table. in my admin profile module the admin can modify his infomation. but only 12 fields he can able to modify. so in my controller if params[ :profileinfo ][:first_name] @profileinfo.update_attribute(:first_name,params[ :profileinfo ][:first_name]) end the above simply saves what i enter into the field.why it doesnot consider the modelvalidation.
2006 Jul 30
1
custom routing in simply_restful
Is there information on how I can define custom paths/actions other than these: /users/new GET new /users/id;edit GET edit so for example I can have my own: /users/log_in GET log_in /users/id;process_log_in GET process_log_in So far I cannot find any documentations on these at all. -- Posted via http://www.ruby-forum.com/.
2009 Nov 11
6
HeLp oN my database
Using my application i can able to save a new record into my db but i cannot update a existing record into my db. using update query i can able to update my records. but using update_attributes it doesnot update my records. even i cant find any errors in logs or something. throughout my application i can able to save a new record but unable to update my existing records. actually i have changed
2006 Jul 10
1
Redirects and keeping flash
My code that acts if a session has timed out looks like this: reset_session session[:expires_at] = nil # TODO - This flash is never shown, because we redirect maybe? flash[:error] = ''Your session has timed out, please login to continue.'' # An attempt to make flash stick around, not working flash.keep redirect_to :controller => ''security'',
2006 May 02
2
flash not shown
I am using the following code (inspired by one of the books) to check if the user''s session should have timed out. # Check to see if the user has been inactive for longer than the # expiry period. If they have, reset the session. def check_timeout if session[:expires_at] != nil @time_left = (session[:expires_at] - Time.now).to_i unless @time_left > 0
2006 Aug 22
7
Cleanup at session expiration
I''m going to explicitly time out sessions if they''re idle more than X minutes. Like online banking sites do. How do I set things up so that, when a session expires, a set of database records and a set of files that may have been created (which are identified via a seperate set of database records) are deleted just before the session data? TIA, Bill
2007 Jul 20
3
Mozzila Logout back button issue
Hello, I have recently created an application in Rails which makes use of a login and logout system. I have a user controller and model as well as a login controller. My login controller performs my logout and login functions. The user is a scaffold of my database table and is auto generated from rails. def process_login #Creates the user with the form variables i have not included the
2006 May 17
3
What am I missing?
There''s got to be a simple answer to this... def logout reset_session flash[:notice] = "Logged out" redirect_to :action => ''index'' end The flash never shows up, and doesn''t seem to be in the new session. --Al Evans -- Posted via http://www.ruby-forum.com/.
2011 Jan 14
4
hardware problem with 5.6
hey every one i got the centos 5.5 and the following problem occuered: 1- the video display doesnot probe my card right. 2- the wireless card doesnot installed . my laptop is dell studio1569: ( display card is intel hd arrandle , the wireless card is intel advanced centrino n6200 series ) but the fedora 14 did it will with both also the ubuntu?
2011 Jan 02
3
drivers
hey guys, wanna know where to find my graphics card driver for centos5.5 coz the 5.4 support it and xserver start automaticly but the 5.5 doesnot start and tried to reconfigure the xorg.conf but it doesnot work too. and i noticed that the hardware prob process find a different driver for my card . mine is arrandle.intel! my system is a dell studio laptop 1569! thnx in advance -------------- next
2006 Jun 01
3
rake create_sessions_table, does not create session table
when i run rake create_sessions_table, I get following output. tables donot get created and my application doesnot start. (in G:/rubysrc/blog) create db/migrate create db/migrate/001_add_sessions.rb info: the first time ran take everyting was fine, but now i have reinstalled ruby and rails and created the database, but i am unable to create session table with rake, please help.
2006 Jul 07
4
need help with some ugly code - is there a better way?
Hi, In my user_controller.rb, I have the following method, which is supposed to send the user to their profile, dependng on what "role" they are (the roles correspond to the other controllers: venue, band, fan): def login if request.post? if session[:user_id] = User.authenticate(params[:user][:login], params[:user][:password]) flash[:message] =
2007 Sep 12
2
Very strange problem i have faced in my 2 years carrier
Dear Concerns, I would like to share a very strange problem. I am from Pakistan/Islamabad. Last month i was on trainning from Askari Bank Limited (Juniper). Here in Askari i m running NMS--> MRTGs using CentOs 4.4. On trainning i recieved a call from collique saying "when i "su -l" NMS says "root user doesnot exist". and also MRTGs not working. well i was amazed how
2008 May 08
0
On 'Back' button of browser, drop down doesn't get refreshed
Hey guys, i have a drop down in my UI, which value gets filled by session[:sale]. <%= select_tag :sale_id, options_for_select([["Select Sale", "0"]] + @sales.collect { |s| [s.name, s.name] }, selected = session[:saleid]), { :id => "sale_id", :onchange => "search_verify();" } %> I have a post on, ''onchange'' event of it. if i
2012 Sep 10
5
flash[:notice] not working
Hi, anybody please help me out,am using rails 3 but using this flash[:notice] doesnot works, i have used this in controllers. any idea ? please help. Regards, Manoj -- Posted via http://www.ruby-forum.com/. -- 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
2006 Jan 19
4
Can the session be trusted for Username/password?
I understand that a session is server side, and not externally visible. For this reason can it be used to store a User class (username/ hashed password) safely? Or do I need to check whats in the session against the user table every time I access a controller? Many thanks, P. -- Posted via http://www.ruby-forum.com/.
2006 Nov 07
4
solve computationally singular
Hi uRsers, when inverting a 2 by 2 matrix using solve, I encountered a error message: solve.default(sigma, tol = 1e-07) : system is computationally singular: reciprocal condition number = 1.7671e-017 and then I test the determinant of this matrix: 6.341393e-06. In my program, I have a condition block that whether a matrix is invertible like this: if(det(sigma)<1e-7) return NULL;
2005 Feb 22
2
RE: Relocating the directory for ruby_sess.* files
Please, someone can tell me where session data are stored on Windows, using Webrick in its default configuration? After storing an object into @session, I initially can access only the controller that has stored the object. Otherwise, the html page displays "Not found" and the Webrick console displays: #<ActionController::SessionRestoreError: Session contained objects where the
2004 Aug 03
4
Share Printer
I am using shorewall firewall. My firewall have two interfaces: External interface 192.168.9.254 and Internal Interface 192.168.1.1. I have a printer (HP) 192.168.1.200. I want to share my printer with PCs in subnet 192.168.9.*. I use static nat : /etc/shorewall/nat 192.168.9.250 eth0 192.168.1.200 No No And i open all ports for net to local:192.168.1.200 and all ports for
2006 Sep 14
2
HTB and per-connection bandwidth allocation
Hi http://mailman.ds9a.nl/pipermail/lartc/2002q3/004977.html I have the same problem to discuss as in the above link. I want to allocate say X MBit per individual connection regardless of the number of connection . KIndly could anyonen suggest me how to proceed. I have tried with SFq but is doesnot yeild my requirement.. Thanks, Namitha. _______________________________________________ LARTC