Current location: Hot Scripts Forums » General Web Coding » JavaScript » Page is not storing the data after the postback through javascript

Page is not storing the data after the postback through javascript

  #1 (permalink)  
New Member
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Page is not storing the data after the postback through javascript


I have implemented a popup which is displayed 5 minutes before the session is expired.
My application contains asp and aspx pages. Presently I have implemented the solution which is mentioned below.
function pageLoad(sender, args)



//Time out function
function TimeOutFunction()

//alert("Your session is going to expire in few minute.");
var sessionResponse = confirm('Your session is about to expire! Click OK to continue your session.');
if (sessionResponse == true)
if ( document.forms(0)== null)

return true;
return false;


The function pageLoad is called on master page.
I want to retain the values which are filled in the controls like textbox, dropdown, etc. This is not happening with this code.

Thanks for your help
Reply With Quote

Featured Marketplace Scripts (view more)



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing data from form into txt file and reading fraga PHP 12 06-12-09 07:34 PM
Eliminating HTML element ben777 PHP 2 04-17-09 08:02 PM
display output of asp page on remote site with javascript dips Script Requests 1 03-30-09 09:29 PM
adding page breaks when retrieving data... Alith7 Database 0 02-19-09 03:21 PM
retreived data and display data upon choice from first page? benq PHP 0 05-06-06 05:45 AM

All times are GMT -5. The time now is 02:45 PM.
vBulletin® Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.