GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 01-Dec-2008, 07:42
spikeuk27 spikeuk27 is offline
New Member
 
Join Date: Nov 2008
Posts: 4
spikeuk27 is on a distinguished road
Exclamation

Cookies / Sessions with url redirect


Ok I have set up a forum package seditio (formerly Land Down under) very easy to setup etc, but session issues due to redirect.

domain www.me.com uses url masking to my home webserver http:\\1.2.3.4.5\website.com\

and so the login cookie seems to get 'lost' and is empty when you try to log in - getting 'access denied' login errors.


Using IE7 I try to log in get access denied back to login page - but If i set cookies to 'accept all' in IE settings it works, anything less doesnt work!.

If i add sites
www.me.com
http:\\1.2.3.4.5\website.com\
to trusted for cookies again this works...

Is there any way to get around this so users dont have to enter 2 entries in their trusted cookies just to log in?.

I have anothersite which is on a sub folder of the redirected url e.g.
goto www.me.com and then type folder test www.me.com\test\
and login session data works 100%.

Any ideas on how to resolve this problem?...
  #2  
Old 02-Dec-2008, 11:32
TurboPT's Avatar
TurboPT TurboPT is offline
Senior Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 1,140
TurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the rough

Re: Cookies / Sessions with url redirect


Are you redirecting using the header() call?
__________________
Use the force...read the source!!
WYCIWYG -- what you code is what you get!
 
 

Recent GIDBlogToyota - 2009 May Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Server Sessions Problems - Any Suggestions? Corey MySQL / PHP Forum 0 06-Apr-2008 16:58
Cookies across 2 websites. Darksat Web Design Forum 4 24-Sep-2004 09:43
cookies, sessions? skyloon MySQL / PHP Forum 1 10-May-2004 09:40
Answer to - How can I redirect a page with PHP? jrobbio Web Design Forum 6 09-May-2004 09:36
RE: Sessions stuff for a confused programmer Dagma20 MySQL / PHP Forum 1 19-Mar-2004 06:10

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 19:11.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.