|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
php header redirect causing issues
hi all
we're working with this company that requires that we use soap to send data back and forth for verification they have told us to keep a temporary session variable alive this variable last for 20 minutes, and after 20 minutes we should redirect the user to the other company's site for re-authentication we're having a problem at the moment, and we're not sure what it is the document that we redirect to is an xml document so what we do is, we try to get the info that we need, if that doesn't work, then we redirect the user to the other site PHP Code:
the problem we are having is not in the php, it is when testing on a handset we get the error message file format unknown i'm not sure whether that is because header redirect is not allowed (on the handset), or whether the xml document is not valid (which seems unlikely because this is a big company we are working with) it works from a browser, that's how we know that this is not a code issue if it is a header redirect issue (which i think it might be, as we have had to use include rather than redirect before), is there any way around that or is that something we will need to use a static link to work around we're using php 5, apache 2, wml 1.1, the handset i was testing on was a nokia 6230 i think thanks dave |
|
#2
|
||||
|
||||
|
Hi,
Is $strRefreshSessionUrl a full url, eg: http://whatever ? I was hunting around on the nokia developers forums and it appears that there seems to be a bit of an issue with redirect on some Nokia phones ?
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#3
|
|||
|
|||
|
yeah it should be
i think i got it working though to some degree might have been a urlencode thing on the querystring we'll have to see what works best a header redirect or a static page with a link that's the problem with phones, it's just really hard to know what the problem is sometimes |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > php header redirect causing issues |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|