If I have an Application that requires the user to log in. If I log in at home on one network then go some where else, like the library down the street and switch networks will the session continue?
In my question this is about Flash SWF embedded in an HTML page requesting a PHP page for login.
Also, it would be helpful to know how this behavior is the same with HTML requests. I mean if Flash uses the browser to send requests then the result is the same for SWFs applications and HTML applications correct?
Most web requests with Flash are made via the browser and so follow the same rules in terms of what cookies are sent, etc. (the exception is the old file uploader, for which you had to hardcode it into the URL).
If your session are created via the standard PHP session module and you have enabled cookies (i.e.
session.use_cookiesini setting), the browser will keep sending the session cookie until you close it.If you have implemented IP address checks (which you shouldn’t, but that’s a personal thing), it might be possible for a session to get invalidated based on IP changes which are very likely to happen when you switch networks.