473,406 Members | 2,867 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.

Temporary Cache

This is what I need to do.

User goes to page1.aspx, on that page there's a textbox and a submit button

the user types in his name "john doe" then clicks submit.

Then the server takes him back to page1.aspx and displays a url on the page.

www.mywebsite.com/page2.aspx?cache=1002

If the user goes to that page it will show what he typed in page1 which
would be "john doe"

so basically when the user submits his input the server creates a temporary
cache with a unique number and the corresponding input

1002 | "john doe"

And the cache has a limited time span.

Is this possible?
Jun 4 '06 #1
1 1209
upon the first submit, just add the data to the Cache (or some other
temporary persitant storage medium - could even be a database). Then, you
just write your URL back to the page with a querystring that would be
sufficient to retrieve the data (primary key of a db record perhaps). This
querystring is used to lookup the data and display it.

If you use a database, you can also write a timestamp into the record. Then
you can use this to determine if the data has expired or not.
"Howard" <ho*******@yahoo.com> wrote in message
news:ur**************@TK2MSFTNGP03.phx.gbl...
This is what I need to do.

User goes to page1.aspx, on that page there's a textbox and a submit
button

the user types in his name "john doe" then clicks submit.

Then the server takes him back to page1.aspx and displays a url on the
page.

www.mywebsite.com/page2.aspx?cache=1002

If the user goes to that page it will show what he typed in page1 which
would be "john doe"

so basically when the user submits his input the server creates a
temporary cache with a unique number and the corresponding input

1002 | "john doe"

And the cache has a limited time span.

Is this possible?

Jun 5 '06 #2

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

Similar topics

1
by: phpninja | last post by:
Greetings, I was wondering if it is possible to delete someone's temporary internet files with javascript? Basically I'm am using a PDF module called HTML_ToPDF. The pdf module takes some output...
3
by: Rajiv Das | last post by:
VS 2003, XP SP2 ------------------------------------------------------------ DirectoryInfo temporary = new DirectoryInfo( Environment.GetFolderPath(Environment.SpecialFolder.InternetCache));...
1
by: Donald | last post by:
How do I prevent I WebForm from being cached in the "Temporary Internet Files" folder on the client computer? The web form is displayed in a popup modal dialog (window.showModalDialog). If the...
4
by: Nicolás Castagnet | last post by:
Hi, I write this post because I notice a strange behavior related with "Temporary Internet Files" and maybe some of you can help me to understand it. I am working in a web application with...
2
by: yxq | last post by:
Hi, I want to delete the files in "Temporary internet cache" and "History" folder, is it ok to use "File.delete"? What are the true path of "Temporary internet cache" and "History" folder? ...
1
by: Manish | last post by:
Hi all, Can any one plz suggest me how i can delete my temporary internet files within my Asp.net page. I am using C# as the code behind lang. Indeed, i have flash inserted on my .net page,...
1
by: mikehixson | last post by:
Hi, As I understand ASP.NET 2.0 caches large POSTs to disk when the POST is greater than 256 bytes by default. The default location for the cached data on my machine is following: ...
9
by: Mark | last post by:
Is there a way in asp.net to delete the temporary internet files from IE? Thanks.
4
by: Mario Krsnic | last post by:
Hello! I have made an application where user can get reading after entering his name and the name of his partner. I tried to save the names in the database, in the separate table. My solution:...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.