NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugging http and https


Joined: 09 Jun 2005
Posts: 16
Reply with quote
Hi

I'm developing a site which has an http and https area, when I debug (I start in http) but the debugging doesn't work on the https area, (using windows, Apache as 3rd part server on localhost)

Thanks

_________________
NM
View user's profileFind all posts by NevenSend private message


Joined: 20 May 2004
Posts: 81
Reply with quote
Normally it should just work, if you're supplying correct DBGSESSID parameter is set. If you're typing URL by hand, please consult the DBG FAQ.

Otherwise please send email to support with the HTML output of phpinfo() command (you should run it with debugging) and screenshots of IDE and Debugger tabs. Also please attach screenshot of Project Properties, if you're using a project.
View user's profileFind all posts by mblshaSend private message
Debugging http and https


Joined: 09 Jun 2005
Posts: 16
Reply with quote
Hi

It works in http its when I switch to the https area that the debugging doesn't
I assume its someting about being another domain. Also is it possible to get the dbg_eval failure notices suppressed in the output

Where would you like the phpinfo() from the http or https? (I might run and compare it)

Thanks
Neven

_________________
NM
View user's profileFind all posts by NevenSend private message


Joined: 09 Dec 2003
Posts: 92
Reply with quote
When starting debugging over HTTP and using a DBGSESSID cookie to keep the debug session alive, the browser will not send the cookie when switching over to https.

If the part of the application where the user is sent from the http to https connection is under you control, you might try to check if a DBGSESSID cookie is set (in $_REQUEST or $_COOKIES?) and incorporate that into the URL you generate to send the user to the https server.

Another option is to use debugBreak(), however you would have to call that at the beginning of every script, that is, it won't work as "automagical" as the cookie.
View user's profileFind all posts by mpSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Correct.
See http://forum.nusphere.com/howto-run-debug-session-t585.html on how to run debug session.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Debugging http and https
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic