Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Searching logouts me!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

masterao
Senior Member

Sweden
1678 Posts

Posted - 08 June 2001 :  17:54:36  Show Profile  Visit masterao's Homepage
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  Show Profile
I'll take a guess that your site search does something with cookies that conflicts with Snitz use of cookies.


======
Doug G
======
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 08 June 2001 :  20:46:24  Show Profile  Visit masterao's Homepage
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?

Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 08 June 2001 :  21:36:12  Show Profile  Visit masterao's Homepage
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

Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 09 June 2001 :  01:36:05  Show Profile
You're welcome, although my guess was way off the mark! :)

======
Doug G
======
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07