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

Getting data from previous page

4
hello
is they a way i can get data from previous page except for sessions and the form way.
Jan 4 '14 #1
1 1199
Atli
5,058 Expert 4TB
Maintaining data between request is the whole point of the session mechanism. Is there a reason why this is not an option for you?

Aside from sessions, you're pretty much limited to the standard HTTP methods of passing data: the POST and GET protocols, and the cookies. None of these are altogether appealing for large amounts of data, especially sensitive data, since it's always passed back and forth between the server and client, thus wasting bandwidth and exposing it to hijacking.

Note that PHP's standard session mechanism is not the only way to maintain data in a session. You could use a custom file, or more complex storage devices such as databases or in-memory storage (like Memcache.) There are a number of ways you could achieve such a thing, ranging from using PHPs normal sessions to store IDs to overriding PHP's normal session handling with your own.
Jan 8 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: tshad | last post by:
I have a logon page that is getting the previous page in its return URL ("logon.aspx?returnURL=A.aspx") where A.aspx is the page that called B.aspx. It should have B.aspx. I am calling B.aspx...
3
by: venky | last post by:
Hi, I have a question regarding page navigation. See i have a page called page1.aspx and page2.aspx. On some event in the both the pages the page get transfered to page3.aspx using...
3
by: misiek | last post by:
Hi all. I have following scenario: 1. I have a page called Page1.aspx, on which there is some GridView and few texboxes. User can enter some search criteria in textboxes, click Find button and...
0
by: George Wei | last post by:
There are 2 pages Default.aspx and Result.aspx: <!-- Default.aspx --> <%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Default.master" CodeFile="Default.aspx.cs"...
0
by: Maximus | last post by:
Hi to all, i am getting unable to cast error while using Me.previous page in asp.net 2.0 . i am using previous page object to getting values from public properties of previous page and i am...
1
by: Reb | last post by:
Hi all, I have not successfully found a Javascript sample for getting next and previous links from a file... I figured that someone must have solved this problem already! ... here is what I'm...
1
by: Jeff | last post by:
I need to place a "Previous Page" link on every page within my site and a simple javascript:history.back() will not work because I need it to capture the state of the page when I left it. For...
4
by: segis bata | last post by:
Hello all, I'm writing you because I have a question for you all: how can I capture the previous page from an ASP file? I need to add the URL (with parameters if possible) of the previous page...
1
by: Vinodsrvk | last post by:
I am accessing a string from the previous page's hidden text. While I am reading the string the only last character of the string is getting truncated. When I tried viewing the string in the previous...
13
by: staeri | last post by:
I use javascript:history.go(-1) to return to the previous page. I've now found out that when returning to the previous page all selections that the user made in dropdownlists are lost. How can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.