Cheers. I wasn't really clear if sessions used a server side variable or a temporary client side cookie but the latter certainly seems the only explanation for the fault. There are some similar problems on the net but I'm not doing anything odd with different domains or using iframes as they are. No solutions that I have found.
For the moment I have got it working again using MySQL but seems a bit of a sledgehammer to crack a nut. Only other things I can think of are a) Try an explicit setcookie, nowt to lose as it's only two lines b) Use a PHP generated page with all the stuff in it and set a hidden element with same value.
PS Last sounded too much hastle but someone has done something similar for me:
http://www.mythos-rini.com/blog/archives/732
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: IE10 PHP session problem
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "IE10 PHP session problem"
Collapse
-
It'll use a cookie to maintain the session, so it's probably that that's getting lost. There was some controversy about Microsoft blocking tracking cookies by default in IE10 IIRC, and I know IE10 is picky about cross domain issues.
Leave a comment:
-
A quick search for IE10 and sessions comes up with
http://stackoverflow.com/questions/1...changing-pages
Leave a comment:
-
Ta for comment. Must admit I'm not an expert on PHP or quite how it works, but either by server side variable or client side cookie, it should set a value that lasts till the user closes the browser. IE10 ain't doing it any more.Last edited by xoggoth; 10 May 2013, 19:05.
Leave a comment:
-
Originally posted by xoggoth View PostI have been using Simon Jarvis's free captcha software for years and have just discovered it is not working in IE10. Thanks AGAIN Microsoft!
The details of the PHP script are here but in a nutshell:
1 $code=random collection of letters
2 show $code as messy image
3 $_SESSION['security_code'] = $code
There is a valid value in $code and the messy image is fine but $_SESSION['security_code'] is null in my mail form using IE10. It's what I expect in other browsers and they work fine.
Anyone else had PHP session problems in IE10? Cheers.
You are confusing server side code with client side.
That code you have pasted in PHP executes on the server. Nothing to do with browsers. You are pretty much looking at a red herring here. The problem is probably with the markup and what is being posted by the form.
Leave a comment:
-
IE10 PHP session problem
I have been using Simon Jarvis's free captcha software for years and have just discovered it is not working in IE10. Thanks AGAIN Microsoft!
The details of the PHP script are here but in a nutshell:
1 $code=random collection of letters
2 show $code as messy image
3 $_SESSION['security_code'] = $code
There is a valid value in $code and the messy image is fine but $_SESSION['security_code'] is null in my mail form using IE10. It's what I expect in other browsers and they work fine.
Anyone else had PHP session problems in IE10? Cheers.Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- A remote IT contractor's allowable expenses: 10 must-claims in 2026 Today 07:03
- New UK crypto rules now apply. Here’s how mandatory reporting affects contractors Yesterday 07:03
- What the Ray McCann Loan Charge Review means for contractors Jan 14 06:21
- IT contractor demand defied seasonal slump in December 2025 Jan 13 07:10
- Five tax return hacks for contractors as Jan 31st looms Jan 12 07:45
- How to land a temporary technology job in 2026 Jan 9 07:01
- Spring Forecast 2026 ‘won’t put up taxes on contractors’ Jan 8 07:26
- Six things coming to contractors in 2026: a year of change, caution and (maybe) opportunity Jan 7 06:24
- Umbrella companies, beware JSL tunnel vision now that the Employment Rights Act is law Jan 6 06:11
- 26 predictions for UK IT contracting in 2026 Jan 5 07:17

Leave a comment: