Forgive me if this is the wrong group to post this in, it's my first post.
I have a web site that uses session variables and cookies. In-house and at
most clients the web sites functions great, exactly how it should behave.
However, at a few sites, the users will get the login page and as soon as
they submit, they get served a page with just the banner image on top and
blank underneath it. The page is two frames, top and bottom with the banner
image on the top. When viewing the source, the bottom page contains
<html></htmlonly. Looking at my PHP scripts, there are no scripts that
could generate that kind of a blank page, it would at least have a <headin
it.
So far what I've found that's different between the sites that work and the
one that doesn't is as follows.
The machine name is SQL1 with an IP address of 10.1.1.100. On this machine
is a web site set up in IIS with an IP address of 10.1.1.150. All of the
users at this site use a url of http://statuspage.cosite.com to get into the
site.
If you use a URL of http://SQL1/statuspage/userlogin.php - everything works
fine.
If you use a URL of http://10.1.1.100/statuspage/userlogin.php - everything
works fine.
If you use a URL of http://statuspage.cosite.com - They get the blank page
after the login page.
I'm thinking it has something to do with domains and cookies but I'm not
sure.
My cookies are set as:
setcookie("User Key", $UK,$expiretime );
setcookie("PHPS ESSID",$_COOKIE["PHPSESSID"],$expiretime);
$expiretime is a variable containing the expiration time of the cookie
Any help would be GREATLY appreciated.
Harry Hambrick 5 2528
hman <fl******@hotma il.comwrote:
If you use a URL of http://statuspage.cosite.com - They get the blank
page
after the login page.
So, what's the code after the login? We cannot guess this.
Also, check what the servers sends as headers (use Fiddler for MSIE or
LiveHTTPHeaders for FireFox to check those).
My cookies are set as:
setcookie("User Key", $UK,$expiretime );
setcookie("PHPS ESSID",$_COOKIE["PHPSESSID"],$expiretime);
$expiretime is a variable containing the expiration time of the cookie
Cookies are domain specific, but should work if you indeed use http://statuspage.cosite.com as address of the server that sets the
cookies.
--
Rik Wasmus
After the login page, it just loads the page that sets up the frames which
loads a php page into the bottom frame.
What should I look for in the header? I will find Fiddler to look at it but
not sure what I should your wanting me to look for.
As far as the cookies go, do I need to specify the domain and path in the
cookies for them to work with both the domain and the machine name?
Harry Hambrick
"Rik" <lu************ @hotmail.comwro te in message
news:op******** *******@misant. kabel.utwente.n l...
hman <fl******@hotma il.comwrote:
>If you use a URL of http://statuspage.cosite.com - They get the blank page after the login page.
So, what's the code after the login? We cannot guess this.
Also, check what the servers sends as headers (use Fiddler for MSIE or
LiveHTTPHeaders for FireFox to check those).
>My cookies are set as:
setcookie("Use rKey", $UK,$expiretime );
setcookie("PHP SESSID",$_COOKI E["PHPSESSID"],$expiretime);
$expiretime is a variable containing the expiration time of the cookie
Cookies are domain specific, but should work if you indeed use http://statuspage.cosite.com as address of the server that sets the
cookies.
--
Rik Wasmus
hman <fl******@hotma il.comwrote:
Please don't toppost, and for that matter: do not mulitpost. Crosspost if
you really have to.
Harry Hambrick
"Rik" <lu************ @hotmail.comwro te in message
news:op******** *******@misant. kabel.utwente.n l...
>hman <fl******@hotma il.comwrote:
>>If you use a URL of http://statuspage.cosite.com - They get the blank page after the login page.
So, what's the code after the login? We cannot guess this.
Also, check what the servers sends as headers (use Fiddler for MSIE or LiveHTTPHeader s for FireFox to check those).
After the login page, it just loads the page that sets up the frames
which
loads a php page into the bottom frame.
And what would be in that page? That is the code that fails, and you give
us no clue what it actually does, so we cannot say anything usefull about
it.
Any way to flag something that the script was indeed run, just the output
isn't received?
What should I look for in the header? I will find Fiddler to look at it
but
not sure what I should your wanting me to look for.
Do you really get a 200 OK, or something else? I.e: did you indeed get an
empty page served, or is there an error which prevents sending at all.
Also, what if you enable display_errors && error_reporting (E_ALL)?
>>My cookies are set as:
setcookie("Us erKey", $UK,$expiretime );
setcookie("PH PSESSID",$_COOK IE["PHPSESSID"],$expiretime);
$expiretime is a variable containing the expiration time of the cookie
Cookies are domain specific, but should work if you indeed use http://statuspage.cosite.com as address of the server that sets the cookies.
As far as the cookies go, do I need to specify the domain and path in the
cookies for them to work with both the domain and the machine name?
Normally, no, server and path default to the current. Users connecting by
one address should have no trouble continuing using that address, and the
cookies it sets. Switching would make your cookies invalid for that
ip/name/server, as they've been set for the other. The browser just won't
send them. You can _try_ to set a cookie for another domain/ip/machine
name, but this would cookie would be declined by the standard settings of
most modern browsers.
--
Rik Wasmus
Forgive me but I don't know what you mean by toppost, multipost and
crosspost. Please explain so I can comply.
There's a whole lot of code on the page that is supposed to be displayed and
has several includes. It would be a lot of code to ask someone to go
through.
I tried putting something in the php code to show me the page was run and
that code did not display. I tried both a javascript alert and also just an
echo from PHP. Neither worked which made me believe that the page was never
being displayed.
No, I received a totally blank page. And when I viewed source, the only
thing there was <html></html>.
I will get back on the customer system and turn or error display and E_ALL
later today or tomorrow morning and see what warnings and errors might be
there.
hman <fl******@hotma il.comwrote:
Forgive me but I don't know what you mean by toppost, multipost and
crosspost. Please explain so I can comply.
<http://en.wikipedia.or g/wiki/Toppost>
<http://en.wikipedia.or g/wiki/Netiquette#Usen et_etiquette>
<http://www.blakjak.dem on.co.uk/mul_crss.htm>
There's a whole lot of code on the page that is supposed to be displayed
and
has several includes. It would be a lot of code to ask someone to go
through.
Well, then trim it down in a bare-minimum testcase. The least amount of
code that still shows the error is not only usefull for us, but will
probably hold the answer for yourself.
I tried putting something in the php code to show me the page was run and
that code did not display. I tried both a javascript alert
Not to be trusted if output is dubious.
and also just an
echo from PHP.
The point where this echo occurs is of importance. Try to do as the first
action of the script, gradually working down untill it doesn't display
anymore. Then at least you know where the error roughly is. Optionally use
flush() after the echo to make sure it's sent immediately.
I will get back on the customer system and turn or error display and
E_ALL
later today or tomorrow morning and see what warnings and errors might be
there.
Check, it's very likely they will tell you a lot.
--
Rik Wasmus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dmcconkey |
last post by:
Hi folks,
I have a client with four websites. Each site has a contact form that
is identical. They all have "required" fields validated through a
JavaScript onSubmit() function. Upon validation, post values go to a
PHP processing page that adds values to a database and generates an
email to someone in marketing.
For three of these sites, we have no problem, but the fourth keeps
sending in blank forms.
|
by: Jody Gelowitz |
last post by:
I am having a problem with printing selected pages. Actually, the problem
isn't with printing selected pages as it is more to do with having blank
pages print for those pages that have not been selected.
For example, if I were to have 5 pages with every second page printing, I
would get the following results:
Page 1 = Print OK
Page 2 = Blank
Page 3 = Print OK
Page 4 = Blank
|
by: Alex Rybalov |
last post by:
Hi,
Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.
I enable server side and client side debugging, but no
errors showing up...
|
by: Usenet User |
last post by:
A user informed me that some pages I've created with nested tables are
spewing out dozens of blank pages at the end of a print run. No one
noticed this for a long time, as printer-friendly files are available
elsewhere, and the .htm files are intended for online viewing.
But still, others will click 'print' in the browser window, so I'd
like to stop all that paper from being wasted.
The pages seem to validate okay. Any ideas? Is...
|
by: Chandra |
last post by:
Hello,
We use Vignette V5.6 to display our site. In our CMA site, we have a page
which has FRAMESET and in one of the frames we call a ASP page.
There seems to be some problem that the frame shows the ASP page is blank.
When we restart the IIS it works fine. But after some time it again shows
the blank. If we get one blank page, all the asp pages under the same virtual
directory, called in the Frame shows blank.
FYI. The Vignette...
| |
by: noway |
last post by:
I have greated a report and have included a page break in it. The
report breaks were it is supposed to but then it creates a blank page
between the two pages. Since this report will print out approx 20
pages (without the blank pages) it is large waste of paper. I have
tested the report by setting the data source so that only one page
will print and all the data fits on page. I have checked all the
printing parameter, set the print magins...
|
by: Karen Hill |
last post by:
X-No-Archive:yes
I have a report that when I view it gives me a blank page after a page
with data. For example in the footer, it says I have 2 pages (page 1
of 2), yet when I use the arrow key there are actually 4. The first
one has the data, and the next one is a blank page, and the page after
has data and the next one is blank.
I have everything set to can grow and shrink.
|
by: jj |
last post by:
I created a dynamic report and the fields is displayed
base on the query. The report contains about 34 fields so if the query has
34 fields, all
34 fields in the report shows up. But if the query has 10 (which most of
them have) fields, the report only shows 10 fields and hides the rest.
What happen is that when I go to print preview, its shows
the pages that have the fields and the blank page. The
blank page infact are the hidden fields....
|
by: Mal Reeve |
last post by:
Hello,
I have a report that has only 2 levels of grouping.
The detail section is simply 1 large block for a memo field.
I am finding that on some occasions the report errors and generates hundreds
(perhaps even an infinite loop...I have to break the system to stop the
report generating) of pages.
While I'm not 100% I think this may have something to do with the detail
|
by: ArizonaJohn |
last post by:
Hello,
The code below works great. The user enters a name into an HTML form, the code looks up a table with that name, and then that table is displayed.
I am trying to use pagination with it, and the pagination almost works. The first page of the pagination works fine, but when I click on one of the links for one of the next pages, the page is blank.
I have seen people mention this problem, and they have been told that a variable is...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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...
|
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |