Author |
Topic  |
|
masterao
Senior Member
   
Sweden
1678 Posts |
Posted - 08 June 2001 : 17:54:36
|
Hi!
I have integrated the Snitz forum with my website (login, PM and announcements), and everything works fine, except for my site search. Whenever I try to search from any other page than the specific search-page, Im being logged out.
The search function is another script (not Snitz) and has a separate database (Im using access for both scripts). The search form has the action specified, and uses get. My website is at http://www.masterao.com
What may cause this behavior? Im thankful for any help about this.
Master AO
|
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 08 June 2001 : 19:09:29
|
I'll take a guess that your site search does something with cookies that conflicts with Snitz use of cookies.
====== Doug G ====== |
 |
|
masterao
Senior Member
   
Sweden
1678 Posts |
Posted - 08 June 2001 : 20:46:24
|
The site search doesn't use cookies at all, and it works when i search without being logged in.
If im logged in, and do a search (i have a search form on all pages throughout the site), it doesn't open the search-page entered into the form action. Instead it just opens the page Im searching from and Im logged out.
I just discovered, that the search works flawlessly (and keeps me logged on), if the search-form is included after the closing and set = nothing of the my_conn-object.
The search, which also is in asp, doesn't use the same connection name nor recordset name.
Anyone got a clue on why this happens?
|
 |
|
masterao
Senior Member
   
Sweden
1678 Posts |
Posted - 08 June 2001 : 21:36:12
|
I disovered why I was logged out when I searched.
I had forgotten to include a </form> after the logout form.  The search works perfectly now, logged in or not.
Thanks for your help, Doug.
Master AO
|
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 09 June 2001 : 01:36:05
|
You're welcome, although my guess was way off the mark! :)
====== Doug G ====== |
 |
|
|
Topic  |
|