Re: Javascript detection , working version

From: Date: Tue, 02 Jan 2007 19:06:01 +0000
Subject: Re: Javascript detection , working version
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-246367@lists.php.net to get a copy of this message
On Tue, 2007-01-02 at 10:06 -0800, Jürgen Wind wrote: > tedd, plz no personal mail, i like better to discuss things in the forum and > thus hear other meanings and experiences. > >Your solution was very simple and worked very well. > tx, i always try to keep things logical and as simple as possible ;) > this is just a quick example to show how to bring info gathered by js back > to the php application (and possibly store it in a session for later use).. > Using the query string is just one way and can also be used in combination > with loading some css.php or some such. Setting a cookie may be another > option. > Happy coding ;) Out of curiosity, can you guarantee the Javascript redirect will always occur before the meta redirect when Javascript is enabled? Otherwise you have a race condition. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#246367) next »