Hi there, On 15 Apr 2003 at 12:34:48 +0000, Mikhael Goikhman wrote: > > Suppose someone wants to post (or include in his site) a link to the > FvwmButtons man page. If he copies it and it has "?layout=something", all > users are forced to read it using this specific layout that some may find > unreadable. This is bad. > > Now, suppose he is smart enough to post a link with everything after "?" > stripped. Now all users are forced to see the default layout. This is not > the best thing to do either. > > The best possible way IMO is not to have any GET parameters in url and > use stored session values only (if any).
How about somebody wants to put a link to the button page with exact a specific layout? I think we should support both. By default the user will be asked to set a cookie to store a layout definition. But we may offer the possibility to access different layout via GET parameters. Maybe the user is asked to type this url by hand. If GET parameters are given we can assume that the user wants a specific layout and use it instead of default or cookie settings. In that case it may be useful to pass this parameters to sub pages. (We may also hide the parameters from the url and store it in a cookie automatically. But I don't like that that much.) For example I often copy bookmark files from home to work or vise versa. I could want to have the layout stored in the bookmark or have it stored in cookie what may be different on the browsers. The same is if I use the same bookmarks with different browsers. I think it is a matter of taste. A third possibility is a session function in php. I think in a session one can pass variables from page to page. It should be intended for online shops. Since I haven't used it yet I don't know much more. I will check the php docu and have some tries. It might be not bad. > One more thing. It would be nice to have 404.php (configured in apache) > that shows an error and suggests to go to the home page. It may also > include a match table that maps the old url to the new one to suggest it. > A possible auto redirection may be used, but this is arguable. Does the server return the file /404.php if the requested page is not on the server? I have to read some apache docu to learn how this works. Regards, Uwe -- ,_, Uwe Pross (O,O) mailto:[EMAIL PROTECTED] ( ) http://www.tu-chemnitz.de/~uwp =-"-"-================================ -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]