This study we have concentrated on preprocessing stage of web usage mining for determining access patterns. This study has taken the web log files from NASA web server log as sample data and extracted the sessions from the web log file after data cleaning (removing images, multimedia files, page styles files, java script files and also web robot requests).