473,395 Members | 2,689 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,395 software developers and data experts.

What is cross page post back?

21
I am currently a beginner in asp.net i am currently watching msdn videos of "beginners developers learning" i am on the topic of application state so i got confused on a topic of "cross page postback" can anybody explain what that is
and another thing is "profile" object we use it in web.config file

1. what is cross page post back?
2. what is web.config file?
Jan 18 '10 #1
4 10748
Frinavale
9,735 Expert Mod 8TB
Cross page postback is when you have one page in your website submitting to another page in your website. I've never used it personally...

The web.config file contains all of the information regarding the configuration of the website. It contains things like what type of authentication your site uses, connection strings used to connect to databases, configuration details indicating what to do when the site encounters an error and much more.

-Frinny
Jan 18 '10 #2
furqi
21
there is a profile object used in a video tutorial which i have can u tell me whatz that and what is the use of profile object there
Jan 18 '10 #3
sanjib65
102 100+
"In many applications, you want to store and use information that is unique to a user. When a user visits your site, you can use the information you have stored to present the user with a personalized version of your Web application.
Profiles allow you to manage user information without requiring you to create and maintain your own database. In addition, the ASP.NET profile feature makes the user information available using a strongly typed API that you can access from anywhere in your application.
For example, you might want to store the user's postal code so that your application can offer region-specific information, such as weather reports. " -MSDN

In your web.config file you type this:
Expand|Select|Wrap|Line Numbers
  1. <profile>
  2.   <properties>
  3.     <add name="PostalCode" />
  4.   </properties>
  5. </profile>
For example, your application's home page might contain a text box that prompts the user to enter a postal code. When the user enters a postal code, you set a Profile property to store the value for the current user, as in the following example:

Expand|Select|Wrap|Line Numbers
  1. Profile.PostalCode = txtPostalCode.Text;
You can also use username instead of postalcode and use that username all along your site.

Wish it works...
Jan 19 '10 #4
furqi
21
well i got it thank you
Jan 19 '10 #5

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

Similar topics

44
by: lester | last post by:
a pre-beginner's question: what is the pros and cons of .net, compared to ++ I am wondering what can I get if I continue to learn C# after I have learned C --> C++ --> C# ?? I think there...
23
by: Jeff Rodriguez | last post by:
Here's what I want do: Have a main daemon which starts up several threads in a Boss-Queue structure. From those threads, I want them all to sit and watch a queue. Once an entry goes into the...
17
by: Alan Silver | last post by:
Hello, I have a page which I am converting to use themes. The page has an HTML <input type="image"> element that is used to post to another page. I would like to replace this with a server...
0
by: Martin | last post by:
Hi, In the scenario described by Scott Allen at http://odetocode.com/Articles/421.aspx, he points out the issue of handling server side validation failing on the source page of a cross page post...
0
by: Jason Wilson | last post by:
I have two pages that that cross post to each other: Page1 has a form Page2 verifies the form entries before posting to a DB If the user sees problems with their entries they can click an Edit...
2
by: J055 | last post by:
Hi I'd like to post a page to another page using LinkButton.PostBackUrl. Then using another LinkButton on the target page post back to the source page and restore the controls to the state they...
11
pbmods
by: pbmods | last post by:
A somewhat obscure hack has emerged recently that is an offshoot of the now-infamous XSS. It is known as Cross-Site Request Forgery, or XSRF for short. XSRF is a form of temporary identity theft...
2
by: Vu Truong | last post by:
Hello, I try to use PostBackUrl to cross post between 2 pages on difference application. At the first time, I press the button on source page. Check on target page, I see Request.Form is...
8
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= | last post by:
I the page knows there was a cross post back. but i can not find the control. (asp.net 3.5) calling page has a master calling control: <asp:Button ID="btnSendAlert" runat="server" Text="Go"...
2
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= | last post by:
I'm reying to get around the problem of cross page post back. I'm attempting to use an interface to cast the previous page. if (PreviousPage != null) { ICommonPostback frm = PreviousPage as...
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
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?
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
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
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.