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

Posts: 113
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
 
When You Register, These Ads Go Away!
     
Old 12-13-2007, 04:55 AM Re: Triggering a "log-out" upon Submitting a file
chrishirst's Avatar
Super Moderator

Posts: 11,452
Location: Blackpool. UK
Should be, call the logout function after the upload function has been called.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-13-2007, 04:37 PM Re: Triggering a "log-out" upon Submitting a file
Super Talker

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

Posts: 12
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.
__________________
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

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 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.11891 seconds with 13 queries