Page 1 of 1
Browser session not being passed
Posted: 11. Aug 2009, 16:47
by MickeySoFine1972
Hi All
I've been try to do browser testing with win xp + IE7 / 8 +ff3 and I'm finding that a session cookie is not being created for the site I'm testing.
I've tested the site with a actualy windows laptop and thats fine but in VBOX it doesnt seem to work.
The website I'm making is on apache2 / mod_python and work with all browsers not hosted in VBOX.
Has anyone else had this happen? or can you give some advise?
Mike
Re: Browser session not being passed
Posted: 12. Aug 2009, 18:04
by MickeySoFine1972
Just a little update....
I've discovered so far that the create-cookie header sent back to the IE doesnt seem to match the right criteria.
I'm putting this down to paths not being right and so the cookies application path is rejected.
Weird how this is only happening on my VM copy of windows :-S
Mike
Re: Browser session not being passed
Posted: 12. Aug 2009, 22:01
by vbox4me2
Never seen this happen, and I am running my workstation as a VM(rdp) Bridged.
Re: Browser session not being passed
Posted: 12. Aug 2009, 22:23
by MickeySoFine1972
Hi
I ran it Bridged and NAT and still have the same effect
Its only IE7/8 though FF just keeps on trotting
Mike
Re: Browser session not being passed
Posted: 12. Aug 2009, 23:03
by vbox4me2
Try another VM network adapter.
Re: Browser session not being passed
Posted: 19. Aug 2009, 12:19
by MickeySoFine1972
Hi
I tried a different adapter and that still didnt fix it
any more suggestions?
Mike
Re: Browser session not being passed
Posted: 19. Aug 2009, 15:26
by Sasquatch
New VM installation? You said it does work on native machines, right? Tried to P2V one of them and see if it's a system error, or simply a bug in IE?
Re: Browser session not being passed
Posted: 19. Aug 2009, 15:40
by MickeySoFine1972
Hi
Well, I have used the VM to browse a copy hosted on a remote machine and it runs fine.
It seems to be only my localhost apache2/mod_python thats doing this.
Also, I created a test script in PHP and that has no difficulty in passing and creating a cookie in the VMs IE.
I'm starting to think its a bug/security feature in IE more than a VM issue, but I'm still open to offers.
Mike
Re: Browser session not being passed
Posted: 19. Aug 2009, 16:15
by Sasquatch
Where is the webserver located, and how do you connect to it? Is it the same very time?
Re: Browser session not being passed
Posted: 19. Aug 2009, 16:21
by MickeySoFine1972
My local one is contacted like this:
1) I have a apache2 vhost file serving files on http://my_doamin.dev
2) I include this in the windows host file and set it to my local hosts ip 192.168.0.2
3) visit it at http://my_doamin.dev in IE
THis displays the pages fine but does not allow a session cookie to be made.
I do this in ff3 and Chrome and it works, but in IE no way
Mike
Re: Browser session not being passed
Posted: 19. Aug 2009, 16:23
by Sasquatch
Tried to do it without the domain name, and use the IP address instead?