Current location: Hot Scripts Forums » Programming Languages » PHP » Session error with URL forward


Session error with URL forward

Reply
  #1 (permalink)  
Old 01-03-06, 02:57 AM
knine143 knine143 is offline
Newbie Coder
 
Join Date: Jan 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Session error with URL forward

I registered a domain name and am using URL forwarding.

Let's say my domain name is www.domain.com and it forwards to www.other.com

On www.other.com, users log in to their accounts. I do this using sessions. When I access the page by going to www.other.com, the sessions work perfectly. On the other hand, when I go to www.domain.com, the sessions don't work anymore.

Why is this happening and how can I fix it?
Reply With Quote
  #2 (permalink)  
Old 01-03-06, 04:41 AM
ben.periton ben.periton is offline
Wannabe Coder
 
Join Date: Oct 2004
Posts: 183
Thanks: 0
Thanked 0 Times in 0 Posts
Im not sure if this is possible without a little modification, try http://www.tutorialized.com/tutorial...in-Cookies/372
__________________
Ben Periton
http://ben.periton.co.uk
Reply With Quote
  #3 (permalink)  
Old 01-04-06, 02:27 AM
knine143 knine143 is offline
Newbie Coder
 
Join Date: Jan 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you very much for the link!

I ended up not using the info though.

In the URL forwarding rules, I selected urlredirect instead of urlframe. Now, when I access www.domain.com it redirects to www.other.com and its as if I directly accessed www.other.com.

Thanks again for the info.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3 small pages with a session problem. session data lost between the 2nd and 3rd page phpfingers PHP 1 10-26-05 08:08 AM
urgent: session timeout occurs unexpectedly in ASP.net seemagaur ASP.NET 3 10-11-05 11:10 PM
Need help: Html script- url linking nyjumpman23 HTML/XHTML/XML 5 09-28-05 09:19 PM
The Reasons Why do you Need URL Rewriting MODULE to Enchance your Web? handry PHP 11 08-05-05 07:32 AM
carry forward superman PHP 11 08-12-03 02:50 AM


All times are GMT -5. The time now is 06:24 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.