473,800 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can i use more than one header(redirect ing page)

121 New Member
hello all,

i have one problem, after submitting form values into database table, at the same time page has redirect to another page i.e email form
but i am getting error as header already sent.

please get me the solution
Dec 18 '07 #1
3 1702
Al42
1 New Member
hello all,

i have one problem, after submitting form values into database table, at the same time page has redirect to another page i.e email form
but i am getting error as header already sent.

please get me the solution
You could get the data on form A (use your own names, of course), submit it to form B and redirect from form B (after the insert to the database) to form C. There are probably a few other ways to do it too.
Dec 19 '07 #2
sbettadpur
121 New Member
thankyou for your reply,

yes i can able to send post values into another page (as u said form B) and their i can redirect another page(form C). But this form C is general script, because i want to access this general script from mininum 12 pages. i don't want to create one more page i.e form B, because 12 more script have to be created for my case. so, is there any other way.
Dec 19 '07 #3
fruityfreak
24 New Member
I just learned from my friend... Not sure if it works for yours...

Add the following at the start of your codes...

ob_start();
Dec 20 '07 #4

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

Similar topics

3
2336
by: Steve Mauldin | last post by:
This is a standard ASP application that has several pages at the root withthe global.asa. I set a session variable session("accountid") = "123456" within an asp page and then response.redirect to the next page and immediately response.write session("accountid") and I get back nothing. But if I set a session variable session("accountid") = "123456" within an asp page and response.redirect to a page in a sub directory and immediately...
1
1176
by: Amy Snyder | last post by:
I have a datagrid where I incorporate paging and sorting. My datagrid page mode is set to numeric. Is there a way for me to customize this to display something like this in the page header: Page 1 of 20 Display 50 rows per page The 1 would be in a text box that could be changed from 1-20 to go directly to the page. The 50 would be in a listbox that would allow the
1
1137
by: Charlie Dison | last post by:
I am using a datagrid bound to a Dataset. The problem is when the dataset has fewer records than the page size for the height, the cells grow automatically. Thus the datagrid with one record grows the cell heights between the one data row and the header row to match the whole datagrid height. Is there any easy way to fix the cell sizes to the same as if there were pagesize records, and the rest of the datagrid would be blank? In it's current...
1
2179
by: Hank | last post by:
My boss wants the font on reports to be user selectable on a Configuration screen. I open the Font Dialog and one is selected. When the report opens, I call a funtion that changes the font of all Text Boxes and Labels. I need to go through the collection of each section of the report: Report Header, Report Footer, Page Header, et cetera. I use this code: ' *******************************************************************************...
9
3089
by: Andrew Poulos | last post by:
I have some js that looks like this: fOpenPDFInNewWindow = function(url,page) { var page = page || 1; newPDF = window.open(url+"#pagemode=bookmarks&page="+page, "location=no,menubar=no;toolbar=no,scrollbars=no,width="+800+",height="+600+"\""); } and some HTML that looks like this:
1
1852
by: Vinutha | last post by:
I have a frame with header, menu & body. I have included one tab button in header part, and when i clicked that button, i want that resulting page to be opened in the body part. This is my program code for tab in the header part, <t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="css/jscookmenu"> <t:navigationMenuItem id="nav_2" itemLabel="Health Record" ...
3
1698
by: lazy | last post by:
wat will happen to a std string function like strcmp etc when the size of the string is greater than page size of the OS? A bigger question is how will they be even stored? (if at all they can be stored) My guess is that this is not an issue as I assume we can malloc like 1MB(>page size), so when we try to access it, both the pages are brought to memory. Does malloc by default tries to allocate in the same page? If so, how will it deal...
1
2601
nirmalsingh
by: nirmalsingh | last post by:
Hai all, I am new to asp.net c#. using visual studio 2005. my question is i want to to use a header page(html) in all page in common. can i use user control like that or any other way and how? if so, i wish to keep login user's id in hidden text box of header page instead of maintaining it in session. is it possible to do like this? another doubt is if i do so, i will get three pages in a screen such as header, content and footer. can i...
4
13005
by: JHite | last post by:
I'm using AC2003. Sequence of events: a. Tool -> Relationships I show my tables & relationships and arrange them to fit landscape mode. b. File ->Print Relationships This generates a report in portrait mode with name/date etc. in report header section, an empty page header section, and diagram of relationships in detail section. c. I go into setup, change to landscape orientation and adjust margins so my "print" is not too...
0
9551
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10276
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10253
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9090
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.