Bluehost.com Web Hosting $6.95

Temporary Redirect (302) using mod_alias based on the result of submittedcookie.

This is a discussion on Temporary Redirect (302) using mod_alias based on the result of submittedcookie. within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi All, I have trying to find out if there is a method whereby Apache (1.3.33) can redirect ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-16-2004
Tom
 
Posts: n/a
Default Temporary Redirect (302) using mod_alias based on the result of submittedcookie.

Hi All,

I have trying to find out if there is a method whereby Apache (1.3.33)
can redirect a user based on the result of a submitted cookie.

Essentially I am looking to force the browser to send two requests for
the page as a means to test the browser support for cookies, the first
and redirected request sets the cookie, the redirection page would be
sent the cookie in the first instance if the browser supported it.

Any help with this would be apprecaited. I am working in perl so I
expect I could write some code to do this manually, but it would be much
cleaner if apache could handle this aspect of my application.

It has been suggested to me that I rewrite the url, based on the cookie
value, this of course is a possibility as long as the browser sees a 302
status and makes two requests the method makes no difference to me.

Cheers,
Tom
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:25 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0