Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Triggering a "log-out" upon Submitting a file
Old 12-13-2007, 01:19 AM Triggering a "log-out" upon Submitting a file
Extreme Talker

Posts: 216
Trades: 0
I have an asp user mgr script and an asp upload script, where the user logs-in and then uploads a file. He uses the browse box to find the file, then selects the Submit button to upload it.

Is it possible to make it so when he hits the Submit button, it then triggers the log-out function too?

If so, what might some code look like?

thanks
chrisj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-13-2007, 05:55 AM Re: Triggering a "log-out" upon Submitting a file
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Should be, call the logout function after the upload function has been called.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-13-2007, 05:37 PM Re: Triggering a "log-out" upon Submitting a file
Extreme Talker

Posts: 216
Trades: 0
thank you
chrisj is offline
Reply With Quote
View Public Profile
 
Old 12-17-2007, 07:40 AM Re: Triggering a "log-out" upon Submitting a file
Novice Talker

Posts: 12
Trades: 0
Quote:
Originally Posted by chrisj View Post
I have an asp user mgr script and an asp upload script, where the user logs-in and then uploads a file. He uses the browse box to find the file, then selects the Submit button to upload it.

Is it possible to make it so when he hits the Submit button, it then triggers the log-out function too?

If so, what might some code look like?

thanks
Since users are usualy kept loged in using session cookies then you should just be able to clear the sessions within the script that processes the upload and they will no longer be loged in.
__________________

Please login or register to view this content. Registration is FREE
Sam M - Expert in Windows Web Hosting and Web Design and Development.
ServWise.com is offline
Reply With Quote
View Public Profile Visit ServWise.com's homepage!
 
Reply     « Reply to Triggering a "log-out" upon Submitting a file
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30001 seconds with 12 queries