473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Passing info between pages.

Are the only two real options for passing info between pages using
QueryString and Session Variables?

Am I missing any other viable way?

TIA - Jeff.
Nov 9 '07 #1
3 1135
RB
Mufasa wrote:
Are the only two real options for passing info between pages using
QueryString and Session Variables?

Am I missing any other viable way?

TIA - Jeff.

You can also use the Session object and the Application object. These
are a little bit like global variables.

Cheers,

RB.
Nov 9 '07 #2
There are quite a few ways actually. You can store data in a database or
other server-side storage, or in Cookies on the client. You can do a
Server.Transfer on the server to pass execution from one Page instance to
another, and the first Page instance will be in the HttpContext. You can use
Application Cache. You can do a POST request from a form in one Page to
another. I'm sure I've overlooked some other possibilities. The trick is to
know what is the best methodology to use for a given set of requirements.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

"Mufasa" <jb@nowhere.comwrote in message
news:Ov**************@TK2MSFTNGP03.phx.gbl...
Are the only two real options for passing info between pages using
QueryString and Session Variables?

Am I missing any other viable way?

TIA - Jeff.


Nov 9 '07 #3
"Kevin Spencer" <un**********@nothinks.comwrote in message
news:O4**************@TK2MSFTNGP03.phx.gbl...
I'm sure I've overlooked some other possibilities.
Context.Items
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 9 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Raju V.K | last post by:
I am developing a web site which requires a set og unique values be transferred between pages and server many times. There fore i decided to put the values in an array so that only one reference to...
6
by: Rob Meade | last post by:
Hi all, At work we have 2 servers in a cluster for our web apps. One problem we have experienced (along with many others!) - is that if a user is logged into one of the applications on server...
4
by: JA | last post by:
I have this little tell-a-friend script that will send out a link back to the site. I want to put a link on my product pages that will go to the script, and have the script display the product...
2
by: Bill | last post by:
Can anyone tell me the best way to pass form entries from one page to the other just using javascript? The only ways I've found are coockies or using hidden fields to store the data and passing...
8
by: CHouck | last post by:
I have what seems to be a simple problem but I can't figure it out. I have a page where I have a link with variables built in which I want to pass through the URL so another page can pick the...
2
by: Glenn | last post by:
I am an old ASP developer that has begun porting existing apps to ASP.NET. I am currently working on a wizard dialog that contains about 4 pages. In ASP in order to keep track of user entered...
3
by: Evan | last post by:
I have a web page with 2 frames. The left frame is running menu.aspx and the right frame is running images.aspx. When a selection is made in menu.aspx I call a method in images.aspx and pass a...
2
by: lacombpcs | last post by:
I have a web app that searches a database and returns a datagrid table. the user inputs the search terms into a textbox. The user selects the info he wants and it sends him to a 2nd page, after...
2
by: netling | last post by:
Ok, Here is my situation... we have a 64 page pdf that we have broken up into separate pages. We are needing a frame set to have a "Previous Page and Next Page" navigation at the bottom of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.