Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 7th, 2008, 05:46 AM
Authorized User
 
Join Date: Nov 2005
Location: Colombo, , Sri Lanka.
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pass values between pages

Hello .,

I have a problem sending data between pages.Im using c# asp.net 2.0. Earlier i used to pass parameter responce.redirect and session.But in my case i cant use these two method. If i use responce.redirect method "My page Refresh" and already existing datas always deleting.So i cant use that method .
Reason to dont use session "every page load time sessions will clear" and my data can lost.

So let me know how to use find control method with javascript. I have a few controls to bind from my first page data.So need to find more control at the same time

thanks
__________________
MSB
  #2 (permalink)  
Old July 7th, 2008, 06:13 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Why does every page load clear session values? It doesn't sound like you are using the session correctly.

How do you plan to pass values using javascript? Even if you find the controls and get the values, you still need to put them somewhere that you can move them around. If not the query string or session, then you need to put them into some persistent storage (such as a database) and retrieve them using some user specific identifier (i.e. usually the session ID or something similar).

-Peter
compiledthoughts.com
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pass values between different pages dipanjan22 ASP.NET 1.x and 2.0 Application Design 4 September 30th, 2007 02:02 PM
How to pass values from one iframe to another raaj PHP How-To 0 February 28th, 2007 01:47 AM
how to pass user info to diffrent pages using sess method PHP How-To 3 February 27th, 2006 01:08 AM
pass userid password across pages in ASP rajayak Classic ASP Databases 2 June 23rd, 2003 09:18 AM



All times are GMT -4. The time now is 09:51 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.